Beginning SQL
Beginning SQL Beginning SQL
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
- Page 874: Figure B-45 Figure B-46 Setting Up
- Page 878: Figure B-48 Setting Up and Using th
- Page 882: Figure B-50 You must reconnect to t
- Page 886: You can see that DB2 automatically
- Page 890: The box in the middle of the screen
- Page 894: If you select MyTable from the list
- Page 898: Installing and Using Microsoft SQL
- Page 902: Figure B-63 What you enter here is
- Page 906: Click Next to continue. Figure B-67
- Page 910: Although it’s not strictly essent
- Page 914: Figure B-73 Setting Up and Using th
- Page 918: Query Analyzer allows you to enter
- Page 922: Figure B-77 Setting Up and Using th
- Page 928: Appendix B You don’t need MyTable
- Page 932: Appendix B 446 Figure B-82 To begin
- Page 936: Appendix B Using Oracle’s SQL*Plu
- Page 940: Appendix B 450 Figure B-87 Another
- Page 944: Appendix C Category Table The follo
- Page 948: Appendix C 454 ( 3, ‘Sandra’,
- Page 952: Appendix C 456 ZipCode, Email, Date
- Page 956: Appendix C DateOfJoining ) VALUES (
- Page 960: Appendix C 460 VALUES ( 1, 3 ); INS
- Page 964: Appendix C VALUES ( 5, 3 ); INSERT
- Page 968: Appendix C 464 3 ); INSERT INTO Fil
- Page 972: Appendix C 5, 6 ); INSERT INTO Film
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