Click here to Skip to main content
15,881,882 members
Home / Discussions / Database
   

Database

 
GeneralRe: Creating SQL statements in Access Databases Pin
Member 115083508-Mar-15 16:25
Member 115083508-Mar-15 16:25 
AnswerRe: Creating SQL statements in Access Databases Pin
Member 115083508-Mar-15 16:56
Member 115083508-Mar-15 16:56 
AnswerRe: Creating SQL statements in Access Databases Pin
Member 115083508-Mar-15 17:18
Member 115083508-Mar-15 17:18 
GeneralRe: Creating SQL statements in Access Databases Pin
Chris Quinn8-Mar-15 22:07
Chris Quinn8-Mar-15 22:07 
AnswerRe: Creating SQL statements in Access Databases Pin
Abdulnazark9-Mar-15 6:51
Abdulnazark9-Mar-15 6:51 
GeneralRe: Creating SQL statements in Access Databases Pin
Member 115083509-Mar-15 17:01
Member 115083509-Mar-15 17:01 
GeneralRe: Creating SQL statements in Access Databases Pin
Abdulnazark9-Mar-15 21:06
Abdulnazark9-Mar-15 21:06 
AnswerRe: Creating SQL statements in Access Databases Pin
Member 115083509-Mar-15 16:48
Member 115083509-Mar-15 16:48 
This is second SQL statement that retrieves everyone's name and the GuestNo who have made a reservation at the hotel. I don't know where to add the count function without getting a Syntax Error.

SQL
SELECT GUEST.FirstName,  COUNT (RESERVATION.GuestNo)
FROM GUEST INNER JOIN RESERVATION ON GUEST.GuestNo =RESERVATION.GuestNo
ORDER BY GUEST.FirstName
GROUP BY GUEST.GuestNo



This is giving me a Syntax error in my query expression GUEST.FirstName, GROUP BY GUEST.GuestNo.

modified 9-Mar-15 23:28pm.

GeneralRe: Creating SQL statements in Access Databases Pin
Member 115083509-Mar-15 17:59
Member 115083509-Mar-15 17:59 
QuestionVB.NET MYSQL SAVE DATAGRIDVIEW VALUES TO DATABASE Pin
KipkoechE28-Feb-15 22:01
KipkoechE28-Feb-15 22:01 
AnswerRe: VB.NET MYSQL SAVE DATAGRIDVIEW VALUES TO DATABASE Pin
manchanx1-Mar-15 1:01
professionalmanchanx1-Mar-15 1:01 
GeneralRe: VB.NET MYSQL SAVE DATAGRIDVIEW VALUES TO DATABASE Pin
KipkoechE3-Mar-15 19:48
KipkoechE3-Mar-15 19:48 
AnswerRe: VB.NET MYSQL SAVE DATAGRIDVIEW VALUES TO DATABASE Pin
Mycroft Holmes1-Mar-15 13:54
professionalMycroft Holmes1-Mar-15 13:54 
GeneralHow to increase SQL Query Performance for the Oracle Database Pin
Blog euth26-Feb-15 23:08
Blog euth26-Feb-15 23:08 
GeneralRe: How to increase SQL Query Performance for the Oracle Database Pin
Jörgen Andersson26-Feb-15 23:37
professionalJörgen Andersson26-Feb-15 23:37 
GeneralRe: How to increase SQL Query Performance for the Oracle Database Pin
Mycroft Holmes1-Mar-15 13:48
professionalMycroft Holmes1-Mar-15 13:48 
GeneralRe: How to increase SQL Query Performance for the Oracle Database Pin
PIEBALDconsult6-Mar-15 14:56
mvePIEBALDconsult6-Mar-15 14:56 
QuestionDifficult Select Query Pin
Dimitris Sakellariou25-Feb-15 23:59
Dimitris Sakellariou25-Feb-15 23:59 
AnswerRe: Difficult Select Query Pin
Corporal Agarn26-Feb-15 0:56
professionalCorporal Agarn26-Feb-15 0:56 
AnswerRe: Difficult Select Query Pin
Abdulnazark9-Mar-15 8:49
Abdulnazark9-Mar-15 8:49 
QuestionDB Conversion Advice Pin
Kyudos25-Feb-15 11:00
Kyudos25-Feb-15 11:00 
GeneralRe: DB Conversion Advice Pin
PIEBALDconsult25-Feb-15 12:21
mvePIEBALDconsult25-Feb-15 12:21 
AnswerRe: DB Conversion Advice Pin
Mycroft Holmes25-Feb-15 13:10
professionalMycroft Holmes25-Feb-15 13:10 
GeneralRe: DB Conversion Advice Pin
Kyudos25-Feb-15 14:38
Kyudos25-Feb-15 14:38 
GeneralRe: DB Conversion Advice Pin
Mycroft Holmes25-Feb-15 14:59
professionalMycroft Holmes25-Feb-15 14:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.