InterviewSolution
Saved Bookmarks
| 1. |
"XYZ" Company conducts workshops for employees of organizations.The company requires data of workshops that are organized. Write SQL query to create a table'Workshop' with the following structure :FieldTypeConstraintWorkshopIdIntegerPrimary keyTitleVarchar (50)DateWorkshopDateNumSpeakersInteger |
|
Answer» CREATE TABLE Workshop ( WorkshopId INT, Title VARCHAR(50), DateWorkshop DATE, NumSpeakers INT, PRIMARY KEY(WorkshopId) ); |
|