Insert Records Payments in SQL

Question:

Contains the run and evaluate script of Oracle DML. Can be used as example

Insert the below records into Payments table.

 
PAYMENT_ID Ticket_ID BD_ID DISCOUNT_ID
P1 T3 1005 D3
P2 T2 1004 D5

CODE:

insert into Payments values('P1', 'T3', 1005, 'D3');
insert into Payments values('P2', 'T2', 1004, 'D5');

rdbms programs | rdbms programs with output | rdbms programming languages | rdbms database program

Leave a Comment

Scroll to Top