SlideShare a Scribd company logo
1 of 2
create database bug
use bug

create table user_details
(
   username varchar(15),
   password varchar(15),
   type varchar(10)
)


insert into user_details values('cris','default','user')
insert into user_details values('som','default','expert')



create table product
(
productId varchar(20) constraint product_pk primary key,
productname varchar(20),
version varchar(20),
)


insert into product values('p1','bug tracker system','first')
insert into product values('p2','Payroll system','second')



create table expert
(
expertId varchar(15) constraint expert_pk primary key,
expertname varchar(20),
password varchar(15),
productId varchar(20) constraint expert_pro_fk foreign key references product
(productid),
email varchar(20)
)


insert into expert values('som','somendra','default','p1','xyz@rediff.com')


create table buguser
(
userId varchar(15) constraint buguser_pk primary key,
username varchar(20),
password varchar(15),
email varchar(20)
)

insert into buguser values('cris','kishan dujari','default','kishan@rediff.com')


create table bug
(
bugId int constraint bug_pk primary key,
userId varchar(15) constraint bug_user_fk foreign key references buguser
(userId) ,
username varchar(20),
productId varchar(20) constraint bug_pro_fk foreign key references product
(productId),
productname varchar(50),
env varchar(15),
type varchar(15),
description varchar(40),
rep_date varchar(15),
priority varchar(10),
status varchar(15),
assignto varchar(20),
)


insert into bug values(1,'cris','kishan dujari','p1','bug tracker
system','windows','GUI','this is problem','01/03/2009','Low','New','somendra')
insert into bug values(2,'cris','kishan dujari','p2','Payroll
system','windows','GUI','so many problem','11/03/2009','High','New','dd Sir')


create table solution
(
bugId int constraint sol_bug_fk foreign key references bug (bugId) ,
expertId varchar(15) constraint sol_expert_fk foreign key references expert
(expertId) ,
expertname varchar(20),
solution varchar (50),
solutiondate varchar(20),
)


insert into solution values(1,'som','somendra','this is solution','02/03/2009')
insert into solution values(2,'dd','dd sir','this is best','22/03/2009')

More Related Content

What's hot

Test du futur avec Spock
Test du futur avec SpockTest du futur avec Spock
Test du futur avec SpockCARA_Lyon
 
Building a Mobile App with Sencha Touch
Building a Mobile App with Sencha TouchBuilding a Mobile App with Sencha Touch
Building a Mobile App with Sencha TouchJames Pearce
 
Elixir Paris Meetup
Elixir Paris MeetupElixir Paris Meetup
Elixir Paris MeetupJoan Zapata
 
Security in laravel
Security in laravelSecurity in laravel
Security in laravelSayed Ahmed
 
Lo nuevo de Django 1.7 y 1.8
Lo nuevo de Django 1.7 y 1.8Lo nuevo de Django 1.7 y 1.8
Lo nuevo de Django 1.7 y 1.8pedroburonv
 
Let jQuery Rock Your World
Let jQuery Rock Your WorldLet jQuery Rock Your World
Let jQuery Rock Your WorldMatt Gifford
 
Final tagless and cats mtl
Final tagless and cats mtl Final tagless and cats mtl
Final tagless and cats mtl Alexander Zaidel
 
jQuery and Rails, Sitting in a Tree
jQuery and Rails, Sitting in a TreejQuery and Rails, Sitting in a Tree
jQuery and Rails, Sitting in a Treeadamlogic
 

What's hot (10)

Test du futur avec Spock
Test du futur avec SpockTest du futur avec Spock
Test du futur avec Spock
 
Building a Mobile App with Sencha Touch
Building a Mobile App with Sencha TouchBuilding a Mobile App with Sencha Touch
Building a Mobile App with Sencha Touch
 
Elixir Paris Meetup
Elixir Paris MeetupElixir Paris Meetup
Elixir Paris Meetup
 
Security in laravel
Security in laravelSecurity in laravel
Security in laravel
 
Codigo taller-plugins
Codigo taller-pluginsCodigo taller-plugins
Codigo taller-plugins
 
Lo nuevo de Django 1.7 y 1.8
Lo nuevo de Django 1.7 y 1.8Lo nuevo de Django 1.7 y 1.8
Lo nuevo de Django 1.7 y 1.8
 
Let jQuery Rock Your World
Let jQuery Rock Your WorldLet jQuery Rock Your World
Let jQuery Rock Your World
 
Assignment
AssignmentAssignment
Assignment
 
Final tagless and cats mtl
Final tagless and cats mtl Final tagless and cats mtl
Final tagless and cats mtl
 
jQuery and Rails, Sitting in a Tree
jQuery and Rails, Sitting in a TreejQuery and Rails, Sitting in a Tree
jQuery and Rails, Sitting in a Tree
 

Viewers also liked

2265536_2204524_Writing_for_Justice_final_report_feb2016
2265536_2204524_Writing_for_Justice_final_report_feb20162265536_2204524_Writing_for_Justice_final_report_feb2016
2265536_2204524_Writing_for_Justice_final_report_feb2016Rosanne Anholt
 
Ozkan ozbay 21210188
Ozkan ozbay 21210188Ozkan ozbay 21210188
Ozkan ozbay 21210188ozz_kan2
 
Victory in europe! and
Victory in europe! andVictory in europe! and
Victory in europe! andelroycleland
 
Pruba unica de informatica de primer periodo
Pruba unica de informatica  de primer periodoPruba unica de informatica  de primer periodo
Pruba unica de informatica de primer periodoGabriel Montoya
 
Referencin&citationsmarketing
Referencin&citationsmarketingReferencin&citationsmarketing
Referencin&citationsmarketingcatherineca
 
How will 2013 Unfold? Predictions and Premonitions for the Digital Marketer
How will 2013 Unfold? Predictions and Premonitions for the Digital MarketerHow will 2013 Unfold? Predictions and Premonitions for the Digital Marketer
How will 2013 Unfold? Predictions and Premonitions for the Digital MarketerScott Valentine, MBA, CSPO
 
Extensive reading
Extensive readingExtensive reading
Extensive readingsasknic
 
Invitation to our Employee Engagement webinar with Thom Wyatt on July 30th
Invitation to our Employee Engagement webinar with Thom Wyatt on July 30thInvitation to our Employee Engagement webinar with Thom Wyatt on July 30th
Invitation to our Employee Engagement webinar with Thom Wyatt on July 30thSiegel+Gale
 
Psychology education kel 1
Psychology education kel 1Psychology education kel 1
Psychology education kel 1Siti Mawaddah
 
Lecture 4 e commerce 2 payment systems
Lecture 4 e commerce 2 payment systemsLecture 4 e commerce 2 payment systems
Lecture 4 e commerce 2 payment systemsKopapcalvince
 
Módulo 1 planificacion efectiva
Módulo 1  planificacion efectivaMódulo 1  planificacion efectiva
Módulo 1 planificacion efectivaevolutiva2013
 

Viewers also liked (20)

2265536_2204524_Writing_for_Justice_final_report_feb2016
2265536_2204524_Writing_for_Justice_final_report_feb20162265536_2204524_Writing_for_Justice_final_report_feb2016
2265536_2204524_Writing_for_Justice_final_report_feb2016
 
Cvsu2
Cvsu2Cvsu2
Cvsu2
 
Ozkan ozbay 21210188
Ozkan ozbay 21210188Ozkan ozbay 21210188
Ozkan ozbay 21210188
 
Prueva unica
Prueva unicaPrueva unica
Prueva unica
 
Victory in europe! and
Victory in europe! andVictory in europe! and
Victory in europe! and
 
Prezi
PreziPrezi
Prezi
 
Quraishi cv
Quraishi cvQuraishi cv
Quraishi cv
 
Prueva unica
Prueva unicaPrueva unica
Prueva unica
 
Guia 4
Guia 4Guia 4
Guia 4
 
Bab 1
Bab 1Bab 1
Bab 1
 
Prueva unica
Prueva unicaPrueva unica
Prueva unica
 
Pruba unica de informatica de primer periodo
Pruba unica de informatica  de primer periodoPruba unica de informatica  de primer periodo
Pruba unica de informatica de primer periodo
 
Referencin&citationsmarketing
Referencin&citationsmarketingReferencin&citationsmarketing
Referencin&citationsmarketing
 
How will 2013 Unfold? Predictions and Premonitions for the Digital Marketer
How will 2013 Unfold? Predictions and Premonitions for the Digital MarketerHow will 2013 Unfold? Predictions and Premonitions for the Digital Marketer
How will 2013 Unfold? Predictions and Premonitions for the Digital Marketer
 
Personal learning network
Personal learning networkPersonal learning network
Personal learning network
 
Extensive reading
Extensive readingExtensive reading
Extensive reading
 
Invitation to our Employee Engagement webinar with Thom Wyatt on July 30th
Invitation to our Employee Engagement webinar with Thom Wyatt on July 30thInvitation to our Employee Engagement webinar with Thom Wyatt on July 30th
Invitation to our Employee Engagement webinar with Thom Wyatt on July 30th
 
Psychology education kel 1
Psychology education kel 1Psychology education kel 1
Psychology education kel 1
 
Lecture 4 e commerce 2 payment systems
Lecture 4 e commerce 2 payment systemsLecture 4 e commerce 2 payment systems
Lecture 4 e commerce 2 payment systems
 
Módulo 1 planificacion efectiva
Módulo 1  planificacion efectivaMódulo 1  planificacion efectiva
Módulo 1 planificacion efectiva
 

Similar to sanya's Bug database

Video club consulta
Video club consultaVideo club consulta
Video club consultaRuth Cujilan
 
Video club consulta
Video club consultaVideo club consulta
Video club consultaRuth Cujilan
 
Oracle helpdesk database shema
Oracle helpdesk database shemaOracle helpdesk database shema
Oracle helpdesk database shemaMurat Gülci
 
code for quiz in my sql
code for quiz  in my sql code for quiz  in my sql
code for quiz in my sql JOYITAKUNDU1
 
CreacióN Tablas En Oracle
CreacióN Tablas En OracleCreacióN Tablas En Oracle
CreacióN Tablas En Oracleesacre
 
Quest 1 define a class batsman with the following specifications
Quest  1 define a class batsman with the following specificationsQuest  1 define a class batsman with the following specifications
Quest 1 define a class batsman with the following specificationsrajkumari873
 
Grails 1.2 探検隊 -新たな聖杯をもとめて・・・-
Grails 1.2 探検隊 -新たな聖杯をもとめて・・・-Grails 1.2 探検隊 -新たな聖杯をもとめて・・・-
Grails 1.2 探検隊 -新たな聖杯をもとめて・・・-Tsuyoshi Yamamoto
 
Making Java more dynamic: runtime code generation for the JVM
Making Java more dynamic: runtime code generation for the JVMMaking Java more dynamic: runtime code generation for the JVM
Making Java more dynamic: runtime code generation for the JVMRafael Winterhalter
 
Introduction to SQL Antipatterns
Introduction to SQL AntipatternsIntroduction to SQL Antipatterns
Introduction to SQL AntipatternsKrishnakumar S
 
DAOFactory.javaDAOFactory.javapublicclassDAOFactory{ this .docx
DAOFactory.javaDAOFactory.javapublicclassDAOFactory{ this .docxDAOFactory.javaDAOFactory.javapublicclassDAOFactory{ this .docx
DAOFactory.javaDAOFactory.javapublicclassDAOFactory{ this .docxtheodorelove43763
 
Database Implementation Final Document
Database Implementation Final DocumentDatabase Implementation Final Document
Database Implementation Final DocumentConor O'Callaghan
 
Юрий Буянов «Squeryl — ORM с человеческим лицом»
Юрий Буянов «Squeryl — ORM с человеческим лицом»Юрий Буянов «Squeryl — ORM с человеческим лицом»
Юрий Буянов «Squeryl — ORM с человеческим лицом»e-Legion
 
Create table dimcustomer ( customerid int/tutorialoutlet
Create table dimcustomer ( customerid int/tutorialoutletCreate table dimcustomer ( customerid int/tutorialoutlet
Create table dimcustomer ( customerid int/tutorialoutletPittock
 
The Ring programming language version 1.6 book - Part 46 of 189
The Ring programming language version 1.6 book - Part 46 of 189The Ring programming language version 1.6 book - Part 46 of 189
The Ring programming language version 1.6 book - Part 46 of 189Mahmoud Samir Fayed
 
database propertiesjdbc.url=jdbcderbyBigJavaDB;create=true # .pdf
database propertiesjdbc.url=jdbcderbyBigJavaDB;create=true # .pdfdatabase propertiesjdbc.url=jdbcderbyBigJavaDB;create=true # .pdf
database propertiesjdbc.url=jdbcderbyBigJavaDB;create=true # .pdffashiionbeutycare
 
The definitive guide to java agents
The definitive guide to java agentsThe definitive guide to java agents
The definitive guide to java agentsRafael Winterhalter
 
Here is my code for a linefile editor import java.io.BufferedRea.pdf
Here is my code for a linefile editor import java.io.BufferedRea.pdfHere is my code for a linefile editor import java.io.BufferedRea.pdf
Here is my code for a linefile editor import java.io.BufferedRea.pdfpratyushraj61
 

Similar to sanya's Bug database (20)

Video club consulta
Video club consultaVideo club consulta
Video club consulta
 
Video club consulta
Video club consultaVideo club consulta
Video club consulta
 
Oracle helpdesk database shema
Oracle helpdesk database shemaOracle helpdesk database shema
Oracle helpdesk database shema
 
code for quiz in my sql
code for quiz  in my sql code for quiz  in my sql
code for quiz in my sql
 
CreacióN Tablas En Oracle
CreacióN Tablas En OracleCreacióN Tablas En Oracle
CreacióN Tablas En Oracle
 
Quest 1 define a class batsman with the following specifications
Quest  1 define a class batsman with the following specificationsQuest  1 define a class batsman with the following specifications
Quest 1 define a class batsman with the following specifications
 
Grails 1.2 探検隊 -新たな聖杯をもとめて・・・-
Grails 1.2 探検隊 -新たな聖杯をもとめて・・・-Grails 1.2 探検隊 -新たな聖杯をもとめて・・・-
Grails 1.2 探検隊 -新たな聖杯をもとめて・・・-
 
Making Java more dynamic: runtime code generation for the JVM
Making Java more dynamic: runtime code generation for the JVMMaking Java more dynamic: runtime code generation for the JVM
Making Java more dynamic: runtime code generation for the JVM
 
Introduction to SQL Antipatterns
Introduction to SQL AntipatternsIntroduction to SQL Antipatterns
Introduction to SQL Antipatterns
 
DAOFactory.javaDAOFactory.javapublicclassDAOFactory{ this .docx
DAOFactory.javaDAOFactory.javapublicclassDAOFactory{ this .docxDAOFactory.javaDAOFactory.javapublicclassDAOFactory{ this .docx
DAOFactory.javaDAOFactory.javapublicclassDAOFactory{ this .docx
 
Database Implementation Final Document
Database Implementation Final DocumentDatabase Implementation Final Document
Database Implementation Final Document
 
Юрий Буянов «Squeryl — ORM с человеческим лицом»
Юрий Буянов «Squeryl — ORM с человеческим лицом»Юрий Буянов «Squeryl — ORM с человеческим лицом»
Юрий Буянов «Squeryl — ORM с человеческим лицом»
 
Webauthn Tutorial
Webauthn TutorialWebauthn Tutorial
Webauthn Tutorial
 
Griffon @ Svwjug
Griffon @ SvwjugGriffon @ Svwjug
Griffon @ Svwjug
 
Create table dimcustomer ( customerid int/tutorialoutlet
Create table dimcustomer ( customerid int/tutorialoutletCreate table dimcustomer ( customerid int/tutorialoutlet
Create table dimcustomer ( customerid int/tutorialoutlet
 
The Ring programming language version 1.6 book - Part 46 of 189
The Ring programming language version 1.6 book - Part 46 of 189The Ring programming language version 1.6 book - Part 46 of 189
The Ring programming language version 1.6 book - Part 46 of 189
 
TDD per Webapps
TDD per WebappsTDD per Webapps
TDD per Webapps
 
database propertiesjdbc.url=jdbcderbyBigJavaDB;create=true # .pdf
database propertiesjdbc.url=jdbcderbyBigJavaDB;create=true # .pdfdatabase propertiesjdbc.url=jdbcderbyBigJavaDB;create=true # .pdf
database propertiesjdbc.url=jdbcderbyBigJavaDB;create=true # .pdf
 
The definitive guide to java agents
The definitive guide to java agentsThe definitive guide to java agents
The definitive guide to java agents
 
Here is my code for a linefile editor import java.io.BufferedRea.pdf
Here is my code for a linefile editor import java.io.BufferedRea.pdfHere is my code for a linefile editor import java.io.BufferedRea.pdf
Here is my code for a linefile editor import java.io.BufferedRea.pdf
 

sanya's Bug database

  • 1. create database bug use bug create table user_details ( username varchar(15), password varchar(15), type varchar(10) ) insert into user_details values('cris','default','user') insert into user_details values('som','default','expert') create table product ( productId varchar(20) constraint product_pk primary key, productname varchar(20), version varchar(20), ) insert into product values('p1','bug tracker system','first') insert into product values('p2','Payroll system','second') create table expert ( expertId varchar(15) constraint expert_pk primary key, expertname varchar(20), password varchar(15), productId varchar(20) constraint expert_pro_fk foreign key references product (productid), email varchar(20) ) insert into expert values('som','somendra','default','p1','xyz@rediff.com') create table buguser ( userId varchar(15) constraint buguser_pk primary key, username varchar(20), password varchar(15), email varchar(20) ) insert into buguser values('cris','kishan dujari','default','kishan@rediff.com') create table bug ( bugId int constraint bug_pk primary key, userId varchar(15) constraint bug_user_fk foreign key references buguser (userId) , username varchar(20), productId varchar(20) constraint bug_pro_fk foreign key references product (productId), productname varchar(50), env varchar(15),
  • 2. type varchar(15), description varchar(40), rep_date varchar(15), priority varchar(10), status varchar(15), assignto varchar(20), ) insert into bug values(1,'cris','kishan dujari','p1','bug tracker system','windows','GUI','this is problem','01/03/2009','Low','New','somendra') insert into bug values(2,'cris','kishan dujari','p2','Payroll system','windows','GUI','so many problem','11/03/2009','High','New','dd Sir') create table solution ( bugId int constraint sol_bug_fk foreign key references bug (bugId) , expertId varchar(15) constraint sol_expert_fk foreign key references expert (expertId) , expertname varchar(20), solution varchar (50), solutiondate varchar(20), ) insert into solution values(1,'som','somendra','this is solution','02/03/2009') insert into solution values(2,'dd','dd sir','this is best','22/03/2009')