1: Create database, named Test4. Question 2: (2 point) Create 2 table as following: A. tblEmployee:...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
1: Create database, named Test4. Question 2: (2 point) Create 2 table as following: A. tblEmployee: employeeCode(PK), varchar(10) employeeName, varchar(30), not null gender, bit, not null address, varchar(50), null departmentCode(FK from tblDepartment), null B. tbIDepartment: departmentCode (PK), varchar(10) departmentName, varchar(30), not null personNumber, int, not null Question 3: (2 point) Insert data for 2 above tables, each table 10 records Question 4: (5 point) Access data A. Display information on female employees who do not live in Hanoi. B. Display the employee name and department name of employee with middle name "Thanh". C. Display department information with the least female staff. D. Show employees in the department with the least number of people. E. Sort the list of employees by department code decreasing, if overlapping then increasing by gender. 1: Create database, named Test4. Question 2: (2 point) Create 2 table as following: A. tblEmployee: employeeCode(PK), varchar(10) employeeName, varchar(30), not null gender, bit, not null address, varchar(50), null departmentCode(FK from tblDepartment), null B. tbIDepartment: departmentCode (PK), varchar(10) departmentName, varchar(30), not null personNumber, int, not null Question 3: (2 point) Insert data for 2 above tables, each table 10 records Question 4: (5 point) Access data A. Display information on female employees who do not live in Hanoi. B. Display the employee name and department name of employee with middle name "Thanh". C. Display department information with the least female staff. D. Show employees in the department with the least number of people. E. Sort the list of employees by department code decreasing, if overlapping then increasing by gender.
Expert Answer:
Answer rating: 100% (QA)
Create data base script USE master GO Object Database Test4 Script Date 23122021 155856 CREATE DATABASE Test4 CONTAINMENT NONE ON PRIMARY NAME NTest4 FILENAME NCProgram FilesMicrosoft SQL ServerMSSQL1... View the full answer
Posted Date:
Students also viewed these databases questions
-
People who live in rural areas often have less access to capital and, as a result, their productivity is lower on average than the productivity of people who live in cities. An article in the New...
-
The following table shows data on gender (coded as 1 = female, 2 = male) and preferred type of chocolate (coded as 1 = white, 2 = milk, 3 = dark) for a sample of 10 students. The students teacher...
-
You are working for the summer at a research laboratory. Your research director has devised a scheme for holding small charged particles at fixed positions. The scheme is shown in the figure below....
-
1. Arrays - Create a program that asks for 10 integers. Display a navigation menu and perform the following: A. Display the numbers. B. Display the values of even indexes (0th, 2nd, 4th, 6th, etc.)...
-
Consider the chemical process yield data in Exercise 4.12. Construct a stem-and-leaf plot and a histogram. Which display provides more information about the process? In exercise 94.1 87.3 94.1 92.4...
-
The accountant for Ronaldo Company makes the assumptions or performs the activities listed below. Tell which of the following concepts of accrual accounting most directly relates to each assumption...
-
Consider the following corporate structure diagram and the additional information which follows. The entities engaged in the following financial transactions during the period under consideration: ...
-
Spielberg Companys general ledger shows a checking account balance of $22,970 on July 31, 2015. The July cash receipts of $1,885, included in the general ledger balance, are placed in the night...
-
4. The atomic numbers of elements, U, V, W and X are 13, 14, 16 and 17 respectively. Which one of the elements will react with oxygen to form an ionic compound? (Atomic number of oxygen is 8) X A. B....
-
Tool Depot sells the latest selection of power tools and uses a perpetual inventory system. The following is information on the purchases and sales of the power drills, M1500. On November 1, Tool...
-
Create a student mark card using HTML table tags for the output given below. Input Marks Name Hindi Name English Add To Table Student Data Score Total Average Math Pass Or Fail C Programming
-
What is an LBO? What actions do companies typically take to meet the large debt burdens resulting from LBOs?
-
Explain how researchers can study the effects of mergers on shareholder wealth. Do mergers create value? If so, who profits from this value? Do the research results discussed in this section seem...
-
What role did junk bonds play in the merger wave of the 1980s?
-
What is the basic difference between floating and fixed exchange rates?
-
Explain what it means for a forward currency to sell at a discount and at a premium.
-
Virtue Ethics, Ethics of Duty (Deontology) and Utilitarian Ethics. describe how each moral theory can be useful for understanding and making moral decisions at the workplace. Dedicate at least one...
-
A copper wire (density = 8.96 g/cm 3 ) has a diameter of 0.25 mm. If a sample of this copper wire has a mass of 22 g, how long is the wire?
-
A homogeneous disk, having mass \(M=2.50 \mathrm{~kg}\) and radius \(R=15.0 \mathrm{~cm}\), can rotate, without friction, about a fixed horizontal axis, passing through the point \(\mathrm{O}\) of...
-
The system in Fig.12.21 consists of a homogeneous disk of mass \(M=300 \mathrm{~g}\) and radius \(R=40.0 \mathrm{~cm}\). At the disk, a slit has been produced along the entire length \(R\) of the...
-
Determine the energy flux on Earth from the Sun, which is \(150 \times 10^{6} \mathrm{~km}\) away, using (13.12). Taking into account that a photovoltaic panel can have an efficiency of \(20 \%\),...
Study smarter with the SolutionInn App