SQL and PHP Basics 1) Relational Tables Created: Table 1: Customers CREATE TABLE Customers ( customer_id INT AUTO_INCREMENT PRIMARY KEY, first_name VARCHAR(255) NOT NULL, last_name VARCHAR(255) NOT NULL

1-Create the following relational tables by using SQL commands.
Add screenshots of the three created tables.
2-Use the technique you have learned in the class to debug the following code and correct the error. Explain your steps in details
3-Write a PHP code that output the following display:
3 @@@ Dammam
1 @@@ Jeddah
2 @@@ Riyadh
Note that the username is root, the password is empty string. You can insert data in the table before the display

Comments

Leave a Reply