db_name stringclasses 146
values | prompt stringlengths 310 4.81k |
|---|---|
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
hospital_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Physician ( EmployeeID, Name, Position, SSN )
# Department ( DepartmentID, Name, Head )
# Affiliated_With ( Physician, Department, PrimaryAffiliation )
# Procedures ( Code, Name, Cost )
# Trained_In ( Physician, ... |
ship_mission | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# mission ( Mission_ID, Ship_ID, Code, Launched_Year, Location, Speed_knots, Fate )
# ship ( Ship_ID, Name, Type, Nationality, Tonnage )
#
# mission.Ship_ID can be joined with ship.Ship_ID
#
### Question:
#
# H... |
ship_mission | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# mission ( Mission_ID, Ship_ID, Code, Launched_Year, Location, Speed_knots, Fate )
# ship ( Ship_ID, Name, Type, Nationality, Tonnage )
#
# mission.Ship_ID can be joined with ship.Ship_ID
#
### Question:
#
# W... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.