mysql query lab iii 25 points

Post on 22-Feb-2016

38 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

MySQL Query Lab III 25 Points. MySQL TU Database 3343 Dr. Thomas Hicks . You May Do This Lab On Your Own Personal Computer Or On Your Database System. Your Name _________________ Name This Presentation: Tom-Hicks-MySQL-Query-3.pptx {Substitute Your First & Last Names}. - PowerPoint PPT Presentation

TRANSCRIPT

1

MySQL Query Lab III25 Points

MySQLTU Database 3343

Dr. Thomas Hicks

2

You May Do This Lab On Your

Own Personal Computer Or On Your Database

System

Your Name

_________________

Name This Presentation:Tom-Hicks-MySQL-Query-3.pptx

{Substitute Your First & Last Names}

Computer Used Is

_________________

{My Personal Computer or CS-??}

5

Your Slide Presentation Should

Include Screen Captures That Are Cropped – Clear &

Easy To Read

6

If This Bar Is Light Blue – It Is Info That You Should Read!

Helpful HintThere Will Often Be A Colored Title Bar At The Top Of A Slide

If This Bar Is Red – You Will Have Screen Captures To Replicate And/Or Questions To Answer

If This Bar Is Green – You Will Have To Create Original Screen Captures And/Or Questions To Answer

7

Use The Snippping Tool To Help You With Your Screen Captures

Use Both The Rectangular Snip & The Window Snip As Is Appropriate!

8

Trying To Capture SHOW FIELDS Command:

Good!

9

Use Good/Neat/Readable Captures Crop Your CapturesDon’t Include Extraneous Stuff! This Is Not Good!

BAD!

10

SELECT …. First Line

FROM … Next Line

WHERE … Next Line If There

ORDER BY … Next Line If There

Use The Document Query Format For All Slides!

Document Query Format

11

Use The MySQL Command Line

Client

Answer All QuestionsReplace Screen Captures

The Basics Of SQL Are Generic

Many Implementations Of MySQL Offer Additional Enhancements

(i.e. MySQL Might Have A String Function, Or Mathematical Function, That Might Not Be

Available In MSSQL)

You Can Generally Add Your Own Custom Functions To Most SQL Environments.

13

Your Slide Presentation Should

Include Screen Captures That Are Cropped – Clear &

Easy To Read

14

If This Bar Is Light Blue – It Is Info That You Should Read!

Helpful HintThere Will Often Be A Colored Title Bar At The Top Of A Slide

If This Bar Is Red – You Will Have Screen Captures To Replicate And/Or Questions To Answer

If This Bar Is Green – You Will Have To Create Original Screen Captures And/Or Questions To Answer

15

Trying To Capture SHOW FIELDS Command:

Good!

16

Use The Snippping Tool To Help You With Your Screen Captures

Use Both The Rectangular Snip & The Window Snip As Is Appropriate!

17

Use Good/Neat/Readable Captures Crop Your CapturesDon’t Include Extraneous Stuff! This Is Not Good!

BAD!

18

SELECT …. First Line

FROM … Next Line

WHERE … Next Line If There

ORDER BY … Next Line If There

Use The Document Query Format For All Slides!

Document Query Format

19

Use The MySQL Command Line

Client

Answer All QuestionsReplace Screen Captures

The Basics Of SQL Are Generic

Many Implementations Of MySQL Offer Additional Enhancements

(i.e. MySQL Might Have A String Function, Or Mathematical Function, That Might Not Be

Available In MSSQL)

You Can Generally Add Your Own Custom Functions To Most SQL Environments.

21

SQL

Structured Query Language

22

ConfigureThe Command

Window

23

Getting Ready To Change Window Properties

Using the mouse, Right Mouse Click On The Top Of The Window and Select Properties

24

Set The Window Screen Text To WhiteSet Your Background To Red, Black, Green, Or Navy

Do Not Select Maroon Background

25

Set The Window Properties As Illustrated Below

26

Set The Window Screen Text To WhiteSet The Background To Red, Black, Green, Or Navy

Do Not Select Maroon Background

27

Put File Library-Hicks.sql On Your DesktopShow The Size In General Properties

28

LOADTHE

DATA

29

Reload The Library-Hicks-1.sql

30

Don't Necessarily Expect Your Output To Be Exactly Like Mine!

The Queries Will Work. Check Your Own Output!

31

Start MySQL AdministratorConfigure & Login

32

Select CatalogsMake Sure That Your Library Database Is Included In The List

33

Select Restore. Select Another Schema. Select Your Library??Push Open Backup File

34

Select Library-Hicks.sql From The Desktop

35

Start The Restore

36

Close

37

Select/Open A

Database

The Open Database Is Often Called The Default Database

38

All Of The Fields In Your Database Will Match Those In My Database 100%

I Reserve The Right To Use Slightly Different Data In An Effort To Ensure That You Carefully Examine Your Own Queries!

All Of The Relationships In Your Database Will Match Those In My Database 100%

All Of The Table & Field Names Will Match 100%

39

Show All Databases On Your System. Open Your Library?? Database. Only One Database May Be Open At A Time.

Replace The Capture Below!

40

Display TheDatabase

Tables

Show Tables (Open Database)

41

Show All Tables In The Open Database.Replace The Capture Below!

42

Display TheDatabase Table

Layout

(Fields, DataTypes, Etc.)

43

1] Open Your Library?? Database2] Display The Tables In The Open Database3] Show The Table Layout For Users Include The Capture Below!

44

1] Show The Table Layout For TeamMembers Include The Capture Below!

45

UNION

46

Display A Query List, Called Names, That Contains All Of The User First Names And All Of The Server TeamNames.

Replace The Capture Below!

47

Users & Teams

Start To Form A Relationship

48

A User May Be A Member Of One Or More Teams. Teams Shall Be A Relationship Between The Users & The Servers. This Will Be Explained More Later In The Presentation.

49

Entity-Relationship

E-R Diagrams

50

Do The Following Google Search

51

Replace The Capture Below!

Google Had About _____________________________________ Results For This Search.

52

Go To The Wikipedia Entry. Read It Completely.As Always, The Things You Read In Your Homework Should Be Included In The List Of

Things You Study For Your Exam/Quizzes. Print Them If You Like.Replace The Capture Below!

53

Entity

In Your Own Words: “What Is An Entity?”

An Entity Is _______________________________________________________________

_________________________________________________________________________Suppose We Had Two Entities: Computer & Programmer. Include Two Sketches/Diagrams (Below) To Represent These Entities:

54

Relationship

In Your Own Words: “What Is An Relationship?”

A Relationship Is _________________________________________________________

_________________________________________________________________________

Suppose We Had Two Entities: Computer & Programmer. Suppose The Relationship Between The Computer And The Programmer Was Called Program. Include An E-R Diagram Below To Represent This Relationship.

Entity-relationship diagrams don't show single entities or single instances of relations. Rather, they show entity sets and relationship sets.

55

Attribute

In Your Own Words: “What Is An Relationship?”

An Attribute Is _________________________________________________________

_________________________________________________________________________

Suppose We Had An Entities: Company (whose Attributes Are Name, BusinessType, Owner, ID, and Phone. Sketch The E-R Diagram For Company (Always include the attributes)

56

Extended E-R Features & Primary KeyThere Have Been Several Extensions Since The Original Chen Publication

Some Programmers Underline Those Attributes That Form The Primary Key – Some Use A Double Ellipse

http://www.sis.pitt.edu/~valeriab/1022-spring08/Chapter6.pdf

57

E-R With An ISA

58

Questions #1 – Use Red Ink For Your Answers1] _____________________________ _____________________________ ER is an acronym for _?_

2] A_____________________________ C_____________________________ In software engineering, an entity-relationship model is an _?_ and _?_ representation of data.

3] D_____________________________ Entity-relationship modeling is a D_?_ modeling method, used to produce a type of conceptual schema or semantic data model of a system, often a relational database, and its requirements in a top-down fashion.

4] P_____________________________ C_____________________________ The E-R Modeling Technique was developed By P_?_ C_?_ (LSU) in 1976.

5] _____________________________ Diagrams created with the E-R Model are called Entity-Relationship Diagrams, E-R diagrams, or _?_.

6] _____________________________ A(n) _?_ is something that has a distinct, separate existence, though it need not be a material existence; it may be a physical object such as a house or a car, an event such as a house sale or a car service, or a concept such as a customer transaction or order.

59

Questions #2 – Use Red Ink For Your Answers7] I_____________________________ An entity-type is a category. An entity, strictly speaking, is an I_?_ of a given entity-type. There are usually many instances of an entity-type. Because the term entity-type is somewhat cumbersome, most people tend to use the term entity as a synonym for this term.

8] _____________________________ The symbol used to represent an entity in an E-R Model is a(n) _?_. 9] _____________________________ The part of speech often associated with an entity is the _?_. 10] Suppose the entity is an artist. Sketch the E-R diagram to represent this artist.

11] Suppose the entity is a song. Sketch the E-R diagram to represent this song.

12] _____________________________ A _?_ captures how two or more entities are related to one another.

60

Questions #3 – Use Red Ink For Your Answers13] _____________________________ The symbol used to represent a relationship in an E-R Model is a(n) _?_.

14] _____________________________ The part of speech often associated with an relationship is the _?_.

15] Sketch the E-R Diagram for owns relationship between a company and a land. Land might be owned jointly between two companies.

16] Sketch the E-R Diagram for worksfor relationship between a company and a people. A person might work for two companies.

17]. _____________________________ Entities and relationships can both have _?_. Examples: an employee entity might have a Social Security Number (SSN).

61

Questions #4 – Use Red Ink For Your Answers18] _____________________________ The symbol used to represent an attribute in an E-R Model is a(n) _?_.

19] _____________________________ The parts of speech often associated with an attribute are the _?_ and the _?_.

20] P_____________________________ K_____________________________ Every entity (unless it is a weak entity) must have a minimal set of uniquely identifying attributes, which is called the entity's P_?_ K_?_.

21] _____________ _____________ The E-R Diagram above has _?_ Entity and _?_ Attributes;

22] __________________________________________________List the fields/attributes that form the primary key for Account.

62

Questions #5 – Use Red Ink For Your Answers

23] __________________________________________________List the fields/attributes that form the primary key for Employee (if any) 24] ______________________________Employee is a _?_ {Strong/Weak} Entity. 25] __________________________________________________List the attributes of Employee. 26] __________________________________________________List the attributes of Mechanic.

63

Questions #5 – Use Red Ink For Your Answers

23] __________________________________________________List the fields/attributes that form the primary key for Employee (if any) 24] ______________________________Employee is a _?_ {Strong/Weak} Entity. 25] __________________________________________________List the attributes of Employee. 26] __________________________________________________List the attributes of Mechanic.

64

Questions #6 – Use Red Ink For Your Answers

27] _______________________________________________________List the fields/attributes that form the primary key for Client (if any) 28] ______________________________Client is a _?_ {Strong/Weak} Entity. 29] _______________________________________________________List the attributes of Client. 30] _______________________________________________________List all of the Entities

65

Questions #7 – Use Red Ink For Your Answers

31] _______________________________________________________List all of the Relationships 32] __________ {T/F} Relationships do not have attributes. 33] _______________________________________________________List the attributes of Sells.

66

Do A Google Search For A Commercial Graphical SoftwarePackage Designed To Do E-R Diagrams

Include Both A Picture Of The Box & The PriceInclude The Screen Capture(s) Below!

67

Entity-Relationship

E-R Diagrams

68

Extra CreditFind A Free (Not Just A Trial) Graphical Software

Package Designed To Do E-R DiagramsInclude The URL & Title

Install On Your System – Open - Include The Screen Capture(s) Below!

69

Table Users Has 8 Fields & 15 RecordsCreate An E-R Diagram For Users

Maybe Use Your Free Software? Use Power Point Tools If You Like!Include The Sketch It Below!

70

Table Users Has 2 Fields & 21 Records

71

SIMPLE JOIN

FROM Tab1, Tab2

72

1] Display the Join Of Users & Team Members. Display Page 1 Do This Query On Your System!

Note That The Display Has 10 Fields (8 For Users & 2 For TeamMembers)

Note That The First Team Member Record (UserID = 6, TeamID = 1) Has Been Appended To Each & Every One Of The 15 User Records.

Note That The Second Team Member Record (UserID = 2, TeamID = 1) Has Been Appended To Each & Every One Of The 15 User Records.

73

1] Display the Join Of Users & Team Members. Display Page 2

Note That The First Team Member Record (UserID = 15, TeamID = 1) Has Been Appended To Each & Every One Of The 15 User Records.

Note That The Second Team Member Record (UserID = 3, TeamID = 2) Has Been Appended To Each & Every One Of The 15 User Records.

74

1] Display the Join Of Users & Team Members. Display Page 3

Note That The First Team Member Record (UserID = 11, TeamID = 2) Has Been Appended To Each & Every One Of The 15 User Records.

Note That The Second Team Member Record (UserID = 15, TeamID = 2) Has Been Appended To Each & Every One Of The 15 User Records.

75

1] Display the Join Of Users & Team Members. Display Page 4

Note That The First Team Member Record (UserID = 4, TeamID = 3) Has Been Appended To Each & Every One Of The 15 User Records.

Note That The Second Team Member Record (UserID = 13, TeamID = 3) Has Been Appended To Each & Every One Of The 15 User Records.

76

1] Display the Join Of Users & Team Members. Display Page 5

Note That The First Team Member Record (UserID = 15, TeamID = 3) Has Been Appended To Each & Every One Of The 15 User Records.

Note That The Second Team Member Record (UserID = 10, TeamID = 4) Has Been Appended To Each & Every One Of The 15 User Records.

77

1] Display the Join Of Users & Team Members. Display Page 6

Note That The First Team Member Record (UserID = 14, TeamID = 4) Has Been Appended To Each & Every One Of The 15 User Records.

Note That The Second Team Member Record (UserID = 15, TeamID = 4) Has Been Appended To Each & Every One Of The 15 User Records.

78

1] Display the Join Of Users & Team Members. Display Page 7

Note That The First Team Member Record (UserID = 8, TeamID = 5) Has Been Appended To Each & Every One Of The 15 User Records.

Note That The Second Team Member Record (UserID = 12, TeamID = 5) Has Been Appended To Each & Every One Of The 15 User Records.

79

1] Display the Join Of Users & Team Members. Display Page 8

Note That The First Team Member Record (UserID = 15, TeamID = 5) Has Been Appended To Each & Every One Of The 15 User Records.

Note That The Second Team Member Record (UserID = 5, TeamID = 6) Has Been Appended To Each & Every One Of The 15 User Records.

80

1] Display the Join Of Users & Team Members. Display Page 9

Note That The First Team Member Record (UserID = 9, TeamID = 6) Has Been Appended To Each & Every One Of The 15 User Records.

Note That The Second Team Member Record (UserID = 15, TeamID = 6) Has Been Appended To Each & Every One Of The 15 User Records.

81

1] Display the Join Of Users & Team Members. Display Page 10

Note That The First Team Member Record (UserID = 1, TeamID = 7) Has Been Appended To Each & Every One Of The 15 User Records.

Note That The Second Team Member Record (UserID = 7, TeamID = 7) Has Been Appended To Each & Every One Of The 15 User Records.

82

1] Display the Join Of Users & Team Members. Display Page 11

Note That The First Team Member Record (UserID = 15, TeamID = 7) Has Been Appended To Each & Every One Of The 15 User Records.

Table B = TeamMembers (21 Rows-Records)Table A = Users (15 Records)

Join Users, TeamMembers (21 x 15 = 315 Records)

Table B = TeamMembers (2 Fields)Table A = Users (8 Fields)

Join Users, TeamMembers (8 + 2 Fields)

In Reality, This Join As-Is, Is Pretty Worthless!

83

Extracting Relationship Data!The Join Makes Sense When We Include The

Relationship In The Query!Replace The Screen Capture Below With Yours!

84

SELECT …

Fully Qualified Field Names

85

Fully Qualified Fields Descriptions Include Both The Table Name & The Field Name (Separated By A Period)

Note that the U.ID = T.UserID!We Often Want To Use ‘AS’ To Create More Meaningful Discriptors In

The Title Line Of Our Queries

86

We Generally Restrict The Use Of Fully Qualified Fields To Those Times That They Are Absolutely Necessary!

Fully Qualified Names Are Necessary Only When Two Tables, Involved In A Join, Have The Exactly The Same Field Name!

Several Of Our Tables Have A Field Name Of ‘ID’. If A Query Joins Two Such Tables, It Is Necessary To Fully Qualify Which ID You Wish To Be Involved In The Query – It Is Not Necessary To Fully Qualify The Other Unique Field Names In

That Same Query!

87

Questions #8 – Use Red Ink For Your Answers

33] __________ {T/F} We should always use fully qualified Field Names in all queries.

34] Write a Fully-Qualified Query that will display the ID, Name, and Phone of all Clients.SELECTFROM

34] __________ {T/F} We will normally use fully qualified Field Names in all queries that involve a join.

35] In your own words, tell when it is necessary to use fully qualified field names._________________________________________________________________________

_________________________________________________________________________

_________________________________________________________________________

88

MySQL

IMPLEMENTING COMPLEX/LONG

QUERIES

89

Helpful Hint (Slide 1)I Am Guessing That Some Of You May Have Made A Mistake Typing In

The Previous Query! (I Did!) . Complex/Long Queries Are Often Difficult To Get Exactly Right The First Time.

1] I Suggest You Enter The Query Into Notepad (or some other text editor). Copy It To The Clipboard (ctrl-c)

90

Helpful Hint (Slide 2)

2] Right Mouse Click Any Where In Your Command Window Select Paste

91

Helpful Hint (Slide 3)

3] If It Works Great! If Not, Modify The Notepad Text And Try Again! (This Is Much Less Stressful Than Trying To Correct It Inside The MySQL Environment)

92

SELECT …

Fully Qualified Field Names

(Continued)

93

1] Display The ID, FullName, UserName, And TeamID For All Users (Fully Qualified Fields)

Replace The Capture Below With Yours!

Whenever I Provide You With A Capture Of The Query Table Titles (such as the one below), You Are To Match Those Titles (EXACTLY i.e. U-FullName, etc.) In Your Capture!

94

Database Development

Walk Through Some Of The Thought Process

95

Start Of A Simple Application

Computer Science Library Where Dr. Hicks

Server Teams Can Check Out Books

96

Database Development

We Have Some UsersEntity

97

There Are Lots Of Programs That Help Support & Automate Design To Implementation

This Is Not The Most Expensive – Look For These Tools If You Are Doing This For A Living!

98

------------- Systems Analysis Phase -------------

At First People Used E-R Diagrams(And Some Still Do)

ID

First

Last

Phone

Email

Administrator

UserName

FullName

Users

99

------------- Systems Analysis Phase -------------There Are Some Software Packages That Will Prompt You For Data-Typing As You Create The Entities In The E-R Diagram& Generate A Database Table (Expensive & Database Specific)

ID

FirstLast

Phone

Email

AdministratorUserName

FullName

Users

100

------------- Systems Analysis Phase -------------E-R Get Clutsey When We Have 30-80 Fields ??

You Often Have To Turn Around And Enter Redundant Info Into The Database!

-- Effort & Time Intensive --

ID

First

Last

Phone

Email

Administrator

UserName

FullName

Users

101

------------- Systems Analysis Phase -------------There Are Many GUI’s That Make Design & Re-Design

Much Easier & Faster Than Corresponding SQL.

102

------------- Systems Analysis Phase -------------A Lot Of Users Are Creating The Table During The Design StageKnowing That There Will Often Be Changes & Revisions

These can Be Done Easily With The GUI - And GUI’s Often Have View!

In One Click We Can Generate The Users Table In A View!

103

Navicat

I Have A License For Your Server – But Not

For Your Personal Computer

104

Google Search: Navicat (Include Databses SupportedVersions & Pricing)Replace The Screen Capture Below With Yours!

105

NAVICAT CONFIGURATION

&Basics

106

Google Search: Navicat (Include Databses SupportedVersions & Pricing)Replace The Screen Capture Below With Yours!

107

Start Navicat (Yours May Be Some Different)Install Navicat On Your Home System If You Desire

Replace The Screen Capture Below With Yours!

File -> New Connection

108

Create A Navicat Connection & Test Replace The Screen Capture Below With Yours!

109

The Navicat InterfaceReplace The Screen Capture Below With Yours!

110

To Open The Table Designer For Users Right-Mouse Click On Users Select Design

111

The Navicat Table Design InterfaceReplace The Screen Capture Below With Yours!

112

To Open Graphical Table Interface For Users Double Click On Users

113

To A New View For The Library?? Database Click On View (Connections Panel Left) Push New View (Right)

114

Select The View Builder TabUsing The Mouse, Drag The Users Table To The View

115

UsersA User Can Be A Member Of One, Two, Or More Server Teams.

User Tom Hicks Is Going Is An “Access-Only” Member Of All Server Teams.

116

My Table Users Has 8 Fields & 15 RecordsInclude The Sketch It Below!

117

1] Display The Number Of Users2] Display The Number Of Users That Have An ‘H’ As The First Two Letters In The LastName 3] Display The Number Of Users Whose First Name Is ‘Tom’ Include The Capture Below!

118

1] Display All Of The First, Last, And E-Mail In UpperCase In Ascending Alphabetical Order By E-Mail

Include The Capture Below!

119

1] Display All Of The First, Last, Username, And E-Mail In LowerCase In Descending Alphabetical Order By FullName

Include The Capture Below!

120

ServersA Single Server Will Have One Team Assigned To It!

Table Servers Has All Of The Server Network Configuration Information.

121

My Table Servers Has 7 Fields & 7 RecordsInclude The Sketch It Below!

122

1] Display The Number Of Servers 2] Display The Number Of Servers That Have A ‘CS’ As The First Two Letters In The ServerName 3] Display The Number Of Servers Whose TeamName Starts With ‘S’ Include The Capture Below!

123

1] Display The ID, TeamName, and ServerName Of Servers 2] Display The ID, StaticIP, SubnetMask, and Gateway Of All Servers

Include The Capture Below!

124

1] Display The ID, StaticIP, SubnetMask, and Gateway Of All Servers Whose TeamName Starts With An ‘S’

Include The Capture Below!

125

1] Display All Of The Team Name In UpperCase In Ascending Alphabetical Order.

Include The Capture Below!

126

1] Display All Of The Team Name In LowerrCase In Descending Alphabetical Order.

Include The Capture Below!

127

TeamsTeams Is A Relationship Between Users and Servers.

Some Folks Would Prefer That We Name This Table “Administers”: John Administers Server CS-1.

I Am Trying To Emphasize Our Server Teams.

128

My Table Teams Has 2 Fields & 21 RecordsReplace The Sketch It Below!

129

Relationship

130

Change Your Window Layout To Match That Below! Replace The Capture Below!

131

Execute Query SELECT *FROM Users, Teams, Servers

The Sketch Below Shows Part Of The Query Title Line. Screen Capture The Rest Of The Query Title Line & Include It Below. Use Multiple

Captures If Necessary To Make It Readable.

Join Users, Teams, ServersTable Users Has ____ FieldsTable Teams Has ____ FieldsTable Servers Has ____ FieldsQuery Has ____ Fields/Columns

132

Continue With Query SELECT *FROM Users, Teams, Servers

Replace The Sketch Below With One From The Bottom Of Your Query That Shows The Number Of Rows.

Join Users, Teams, ServersTable Users Has ____ RecordsTable Teams Has ____ RecordsTable Servers Has ____ Records Query Has ____ Records/Rows

133

Change Your Window Layout To Match That Below! Replace The Capture Below!

134

Display The First, Last, TeamName, And ServerName for Everybody!A Meaningful Query

Replace The Capture Below!

It would be much more efficient to use an Inner Join; we will get to that later.

135

CHANGETHE

DATA

136

Reload The Library-Hicks-2.sql

137

Do You Understand

138

Once Again We Want To Execute Query SELECT *

FROM Users, Teams, Servers

But The Data Has Changed. Don't Do It Yet!

Join Users, Teams, ServersTable Users Now Has ____ FieldsTable Teams Now Has ____ FieldsTable Servers Now Has ____ Fields

I Am Guessing That The Query Will Have ____ Fields

139

Once Again We Want To Execute Query SELECT *

FROM Users, Teams, Servers

But The Data Has Changed. Don't Do It Yet!

Join Users, Teams, ServersTable Users Now Has ____ RecordsTable Teams Now Has ____ RecordsTable Servers Now Has ____ Records

I Am Guessing That The Query Will Have ____ Records

140

Once Again We Want To Execute Query SELECT *

FROM Users, Teams, Servers

Do The Query Now!

Join Users, Teams, Servers

The Query Has ____ FieldsThe Query Has ____ Records

_______ My Guesses {were/were not} correct

141

1] Display The First, Last, E-Mail, Phone, ServerName, and URL Users Whose ID <= 5 In Order By FullName

Include The Capture Below!

142

1] Display The Servers.ID, ServerName, TeamName, First, and Last Of All Systems In Order By TeamName.

Include The Capture Below!

143

1] Display “No People On The Team Whose ServerID = 4 Is ???” Use Count(*)

Include The Capture Below!

144

Database Generally

ImpliesRelationships

145

How Are The Library Tables RelatedReplace The View Below With Yours!

146

1] List the following information about all the authors that start with an HYour query is top generate exactly the same output as mine. Don't Delete My Output!BA is BookAuthors - OrdrBy A.Name

Include The Capture Below - Include Query and Output In Capture

It Looks Like Hector May Have Authored Two Books?

147

1] List the following information about all the authors that start with an HYour query is top generate exactly the same output as mine. List 25 characters of the Title. Don't Delete My Output! OrdrBy A.Name

Include The Capture Below - Include Query and Output In Capture Hector

Authored Two Books?

148

1] List the following information about books written by Joel MurachYour query is top generate exactly the same output as mine. List 25 characters of the Title. Don't Delete My Output!

Include The Capture Below - Include Query and Output In Capture

149

1] List the following information about all of the authors of book ID = 23 Your query is top generate exactly the same output as mine. List 25 characters of the Title. Don't Delete My Output! - OrdrBy A.Name

Include The Capture Below - Include Query and Output In Capture

150

1] List the following information about all of the authors of book ID = 23 Your query is top generate exactly the same output as mine. List 25 characters of the Title. Don't Delete My Output! - OrdrBy A.Name

Include The Capture Below - Include Query and Output In Capture

151

1]Harvey's name has a leading blank. Perhaps there are others. Create a query that will get rid of leading and trailing blanks in all Author records.

Include The Capture Below - Include Query and Output In Capture

top related