Beginning SQL

Beginning SQL Beginning SQL

marjan.fesb.hr
from marjan.fesb.hr More from this publisher
20.07.2013 Views

Click the Execute icon and the table is created. Now you need to insert some data. Type the following statements into the SQL entry box and click Execute: INSERT INTO MyTable(MyColumn) VALUES(123); INSERT INTO MyTable(MyColumn) VALUES(888); In order to see what data is contained in MyTable, clear the SQL entry box and execute the following statement: SELECT * FROM MyTable You should see a screen similar to Figure B-79: Figure B-79 Setting Up and Using the Five Database Systems 443

Click the Execute icon and the table is created. Now you need to insert some data. Type the following<br />

statements into the <strong>SQL</strong> entry box and click Execute:<br />

INSERT INTO MyTable(MyColumn) VALUES(123);<br />

INSERT INTO MyTable(MyColumn) VALUES(888);<br />

In order to see what data is contained in MyTable, clear the <strong>SQL</strong> entry box and execute the following<br />

statement:<br />

SELECT * FROM MyTable<br />

You should see a screen similar to Figure B-79:<br />

Figure B-79<br />

Setting Up and Using the Five Database Systems<br />

443

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

Saved successfully!

Ooh no, something went wrong!