Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SET @old_set_id = 71, @new_set_id = 72;
- SELECT id,request_id, data_capture_id as temp_id, count(data_capture_id ) as item_count
- FROM my_table where request_id= @old_set_id or request_id= @new_set_id
- GROUP BY record_col_1
Add Comment
Please, Sign In to add comment