Disclaimer: This presentation is prepared by trainees of
baabtra as a part of mentoring program. This is not official
document of baabtra –Mentoring Partner
Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt .
Ltd
create table tbl_ticket_booking(
pk_bint_ticket_no integer primary key,
vchr_from_location varchar(20),
vchr_to_location varchar(20),
dat_journey_date date,
dat_booking_date date,
tim_journey_time time,
dbl_amount       double precision,
fk_bint_cust_id         integer references tbl_customer
(pk_bint_cust_id));
INSERT STATEMENT

insert into tbl_customer
  values(101,'aswathi','rose.achu@gmail.com','1988-12-
  17','f',9645541976);

insert into tbl_ticket_booking values
(1112, ‘Calicut’,’Eranakulam’,’2013-02-26’,’2013-01-09’,
  ‘05:00’,3000,101);
If this presentation helped you, please visit our
           page facebook.com/baabtra and like it.
                 Thanks in advance.
www.baabtra.com | www.massbaab.com |www.baabte.com
Contact Us

Createtable

  • 2.
    Disclaimer: This presentationis prepared by trainees of baabtra as a part of mentoring program. This is not official document of baabtra –Mentoring Partner Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
  • 3.
    create table tbl_ticket_booking( pk_bint_ticket_nointeger primary key, vchr_from_location varchar(20), vchr_to_location varchar(20), dat_journey_date date, dat_booking_date date, tim_journey_time time, dbl_amount double precision, fk_bint_cust_id integer references tbl_customer (pk_bint_cust_id));
  • 4.
    INSERT STATEMENT insert intotbl_customer values(101,'aswathi','rose.achu@gmail.com','1988-12- 17','f',9645541976); insert into tbl_ticket_booking values (1112, ‘Calicut’,’Eranakulam’,’2013-02-26’,’2013-01-09’, ‘05:00’,3000,101);
  • 5.
    If this presentationhelped you, please visit our page facebook.com/baabtra and like it. Thanks in advance. www.baabtra.com | www.massbaab.com |www.baabte.com
  • 6.