20.07.2013 Views

Beginning SQL

Beginning SQL

Beginning SQL

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Appendix B<br />

408<br />

Figure B-30<br />

MyTable isn’t needed again in this book, so delete it by entering the following statement into the <strong>SQL</strong><br />

entry box and clicking Execute:<br />

DROP TABLE MyTable<br />

Refresh the schemata view, and you can see that MyTable is no longer listed under the Film Club<br />

database.<br />

If you decide to download the <strong>SQL</strong> text files for this book, you can open them by selecting File ➪ Open<br />

Script. By default, <strong>SQL</strong> files have the .sql extension, so make sure that All Files is selected from the<br />

Files of Type drop-down box when you’re loading plaintext files.<br />

One final thing to note is the very handy <strong>SQL</strong> reference guide in the bottom-right corner of Query<br />

Browser; there you can find a wealth of useful information specific to My<strong>SQL</strong>’s implementation of <strong>SQL</strong>.<br />

The reference guide contains details pertaining to all the <strong>SQL</strong> statements and operators used in My<strong>SQL</strong>.<br />

For example, click on Syntax, then on Data Manipulation, and then on the SELECT statement, and you<br />

have a whole lot of information on the SELECT statement and all the possible usage variations. The reference<br />

may look like gibberish until you’ve read the first few chapters of this book, but it’s invaluable for<br />

your later <strong>SQL</strong> adventures.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!