Create Guest Table in SQL

Question:

Create Guest Table

Create a table “Guest” with column specification mentioned below.

Code:

sample.sql

Create table Guest(
	guestID number,
  	name varchar(30),
    address varchar(30),
  	country varchar(20),
  	email varchar(30),
  	phone varchar(15),
  	constraint PK primary key(guestID)
);

Recommended:

Leave a Comment

Your email address will not be published. Required fields are marked *

x