Guest User

Untitled

a guest
Dec 14th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. INSERT INTO Complaint
  2. SELECT Address_lookup.case_id as case_id FROM Address_lookup WHERE Address_lookup.case_id is not null
  3. UNION
  4. SELECT [Complaint type] as complaint_type FROM [dbo].['311 Open Data NYC$'] WHERE [Complaint type] is not null
  5. UNION
  6. SELECT [Location type] as location_type FROM [dbo].['311 Open Data NYC$'] WHERE [Location type] is not null
Add Comment
Please, Sign In to add comment