Learning PHP and MySQL

7.3. Chapter 7 Questions

Question 7-1.

Create a table called months that contains the month name and the number of days in the month.

Question 7-2.

Write insert statements to populate the months and days.

Question 7-3.

Write a select statement to display the months.

Question 7-4.

Write a select statement to display only the months that have 28 days.

Question 7-5.

Write a query to display only the months that end in "ber."

See the Appendix for the answers to these questions.

Категории