I would like to delete specific IDs from different tables to remove these values.
My formatted question is this:
Earthquake! California sinks into the ocean, and all our suppliers in California disappear under the water. Write a query to delete them from the database. What happens when you run the query, if you have declared a foreign key? What happens if you have not declared a foreign key?
The problem is that I don't really know how to handle this
I'm expecting it to delete all the columns with the id that "California" has. One this is that California is mentioned multiple times with different IDs because there are different Cities from California such as "Los Angeles" and "San Francisco"
Edit:
Tables that contains Cities/State
Table Supplier with columns city and state
Table Item with column Supplier(Id of table Supplier)