|
|
|
@ -42,7 +42,7 @@ ALTER TABLE engineer_contributions
|
|
|
|
|
|
|
|
|
|
|
|
#########################Soil Contributions#############################################################################
|
|
|
|
#########################Soil Contributions#############################################################################
|
|
|
|
DROP TABLE IF EXISTS rdu_soil_contributions;
|
|
|
|
DROP TABLE IF EXISTS rdu_soil_contributions;
|
|
|
|
BEGIN
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CREATE TABLE rdu_soil_contributions AS
|
|
|
|
CREATE TABLE rdu_soil_contributions AS
|
|
|
|
SELECT CONCAT(users.lname, ', ', users.fname) AS `Engineer`,
|
|
|
|
SELECT CONCAT(users.lname, ', ', users.fname) AS `Engineer`,
|
|
|
|
@ -78,6 +78,4 @@ WHERE id IN (SELECT bad_rows.id
|
|
|
|
AND good_rows.min_id <> bad_rows.id);
|
|
|
|
AND good_rows.min_id <> bad_rows.id);
|
|
|
|
|
|
|
|
|
|
|
|
ALTER TABLE rdu_soil_contributions
|
|
|
|
ALTER TABLE rdu_soil_contributions
|
|
|
|
DROP COLUMN IF EXISTS id;
|
|
|
|
DROP COLUMN IF EXISTS id;
|
|
|
|
|
|
|
|
|
|
|
|
END
|
|
|
|
|