Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
Agenda
Create table dbo.customers ( customerid int not null primary key, fname varchar(100) not null, emailid varchar(100) not null ) go create table dbo.orders ( orderid int not null primary key, customerid int null, ordereditem varchar(100) ) insert into dbo.customers values(101,'john','john123@gmail.com'), (102,'Rob','rob123@gmail.com'), (103,'david','david@gmail.com') insert into dbo.orders values(1001,101,'laptop'), (1002,102,'grocery'), (1003,null,'fruits')
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
SQL Interview Questions : Customer Orders
BRYAN_BD Actul
Dbms_20181cse0068
DDL,DQL,DML
persons
DeletorWall
SQL HW 1 Appline
SQL Directives Order of Execution
aa
Using varaible
Please log in to post a comment.