We can change the information in existing rows in the database using the UPDATE statement.
Update the table people and change the location to Ohio WHERE the name is Jill.We could update more than one column field if we wanted.
Just separate them with commas.
We can use the CREATE TABLE statement to make new tables.
Create a table named other_people, now we have to define each column field and the type of data it will contain, here is a list of some of them:
Read the SQL statement, it speaks for itself.
We can delete tables from our database with the DROP TABLE statement.
It's as simple as that.
That about wraps up this introduction to SQL. This is the extreme basics, but it's these foundations you need so you can build on them and advance your skills in SQL. Practice with what you have learned, then look below if you want to learn more.
Here are a few links to learn more about SQL.
No Comments for this page.