Beginning SQL
Beginning SQL Beginning SQL
Click Finish, and congratulate yourself — the database install is now complete! Click Start ➪ Programs, and browse to the new folder containing the MySQL programs. As evident in Figure B-19, there’s a command line interface, the default way of managing and accessing MySQL, and there is also the configuration wizard, the wizard you just ran. You may also see an option for the MySQL Manual. Figure B-19 Although using only the command line interface to access MySQL is fine, you may prefer nice, easy-touse consoles and user interfaces. The next section shows you how to install very useful tools for managing the MySQL system. Installing the MySQL Tools Setting Up and Using the Five Database Systems As mentioned previously, the MySQL Administration console and the MySQL Query Browser are available to download and provide excellent user interfaces for managing MySQL. Both the Administration console and the Query Browser can be downloaded from http://dev.mysql.com/downloads/. The Administration console is very handy but not essential for this book, and discussing its use could easily fill another book. However, once you’ve completed this book, you might want to go back and install the console because it does make life a lot easier than does the default command line interface. To start installing the Query Browser interface, which is extremely useful for this book, click Start ➪ Run and browse to where you downloaded the Query Browser installation file. If you download the Windows installer version, then you need to make sure to select All Files from the Files of Type drop-down box, or else you won’t see the installation file listed. Click Open, and then Click OK to start the installation. You should see the initial installation screen depicted in Figure B-20: 401
- Page 790: As well as joining the tables, you
- Page 794: Figure A-2 Notice that Table1 is re
- Page 798: Executing the query provides the fo
- Page 802: Category COUNT(DVDPrice), SUM(DVDPr
- Page 806: This is the final SQL and gives the
- Page 810: The results from the query are as f
- Page 814: Clearly this query hasn’t returne
- Page 818: Chapter 12 Exercise 1 Solution EXEC
- Page 822: B Setting Up and Using the Five Dat
- Page 826: Next, you come to a screen that giv
- Page 830: Leave the check box for “Configur
- Page 834: For this book, the default option o
- Page 838: Now click Next to continue. In the
- Page 844: Appendix B 402 Figure B-20 The inst
- Page 848: Appendix B 404 At the very top of t
- Page 852: Appendix B 406 Having done that, ma
- Page 856: Appendix B 408 Figure B-30 MyTable
- Page 860: Appendix B 410 Figure B-32 Click Ne
- Page 864: Appendix B 412 Click Next to contin
- Page 868: Appendix B 414 Click OK to clear th
- Page 872: Appendix B If you’re ready and ha
- Page 876: Appendix B 418 You can also enter a
- Page 880: Appendix B 420 Figure B-49 The Film
- Page 884: Appendix B 422 Now you need to inse
- Page 888: Appendix B 424 In Access it’s not
Click Finish, and congratulate yourself — the database install is now complete!<br />
Click Start ➪ Programs, and browse to the new folder containing the My<strong>SQL</strong> programs. As evident in<br />
Figure B-19, there’s a command line interface, the default way of managing and accessing My<strong>SQL</strong>, and<br />
there is also the configuration wizard, the wizard you just ran. You may also see an option for the<br />
My<strong>SQL</strong> Manual.<br />
Figure B-19<br />
Although using only the command line interface to access My<strong>SQL</strong> is fine, you may prefer nice, easy-touse<br />
consoles and user interfaces. The next section shows you how to install very useful tools for managing<br />
the My<strong>SQL</strong> system.<br />
Installing the My<strong>SQL</strong> Tools<br />
Setting Up and Using the Five Database Systems<br />
As mentioned previously, the My<strong>SQL</strong> Administration console and the My<strong>SQL</strong> Query Browser are available<br />
to download and provide excellent user interfaces for managing My<strong>SQL</strong>. Both the Administration<br />
console and the Query Browser can be downloaded from http://dev.mysql.com/downloads/.<br />
The Administration console is very handy but not essential for this book, and discussing its use could<br />
easily fill another book. However, once you’ve completed this book, you might want to go back and<br />
install the console because it does make life a lot easier than does the default command line interface.<br />
To start installing the Query Browser interface, which is extremely useful for this book, click Start ➪<br />
Run and browse to where you downloaded the Query Browser installation file.<br />
If you download the Windows installer version, then you need to make sure to select All Files from the<br />
Files of Type drop-down box, or else you won’t see the installation file listed. Click Open, and then Click<br />
OK to start the installation. You should see the initial installation screen depicted in Figure B-20:<br />
401