Click here to Skip to main content
15,891,567 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL Server Pin
Frank Kerrigan23-Aug-05 0:46
Frank Kerrigan23-Aug-05 0:46 
Generalform of access Pin
vtalau21-Aug-05 16:27
vtalau21-Aug-05 16:27 
GeneralADO Practicalities & Errors Pin
Peter Weyzen21-Aug-05 5:52
Peter Weyzen21-Aug-05 5:52 
GeneralRe: ADO Practicalities & Errors Pin
Mike Dimmick22-Aug-05 0:52
Mike Dimmick22-Aug-05 0:52 
GeneralRe: ADO Practicalities & Errors Pin
Peter Weyzen22-Aug-05 5:53
Peter Weyzen22-Aug-05 5:53 
Generalhelp me with triggers Pin
m.rastgar21-Aug-05 0:45
m.rastgar21-Aug-05 0:45 
GeneralRe: help me with triggers Pin
airbus38021-Aug-05 2:29
airbus38021-Aug-05 2:29 
GeneralHelp with Sql statement Pin
MeterMan20-Aug-05 15:44
MeterMan20-Aug-05 15:44 
I can't figure out what I'm doing wrong.
I want to list all employees i have by the foreman they are associated with and count the number of installs they have done for the day. I have that part working. However if they have no installs at all for the day then they don't show up at all in the query and i'm wanting a complete employee list.
can someone please help? Here is my current query.
<br />
SELECT Employees_Tony.[Employee Name], MtrInstall.InstallDate, Count(MtrInstall.NewSN) AS CountOfNewSN, MaterialType.UtilityID, Formans_Tony.[Forman Name], Formans_Tony.FormanID, Formans_Tony.FormanID<br />
FROM (MaterialType INNER JOIN MtrAccount ON MaterialType.MaterialTypeID = MtrAccount.MaterialTypeID) INNER JOIN ((Employees_Tony INNER JOIN Formans_Tony ON Employees_Tony.FormanID = Formans_Tony.FormanID) INNER JOIN MtrInstall ON Employees_Tony.[Employee ID] = MtrInstall.EmployeeID) ON MtrAccount.AccountID = MtrInstall.AccountID<br />
GROUP BY Employees_Tony.[Employee Name], MtrInstall.InstallDate, MaterialType.UtilityID, Formans_Tony.[Forman Name], Formans_Tony.FormanID, Formans_Tony.FormanID<br />
HAVING (((MtrInstall.InstallDate)=#8/16/2005#));<br />


Win32newb
"If I wrote a book like I code. It would be one page thick and contain only one word (DUH!)"
GeneralRe: Help with Sql statement Pin
miah alom21-Aug-05 5:46
miah alom21-Aug-05 5:46 
GeneralAccess to mySQL Pin
Anonymous20-Aug-05 8:19
Anonymous20-Aug-05 8:19 
GeneralRe: Access to mySQL Pin
Santanu Lahiri23-Aug-05 11:28
Santanu Lahiri23-Aug-05 11:28 
GeneralXML Database Pin
surfman1919-Aug-05 11:03
surfman1919-Aug-05 11:03 
GeneralRe: XML Database Pin
Colin Angus Mackay20-Aug-05 6:29
Colin Angus Mackay20-Aug-05 6:29 
GeneralRe: XML Database Pin
surfman1920-Aug-05 12:41
surfman1920-Aug-05 12:41 
GeneralRe: XML Database Pin
Colin Angus Mackay20-Aug-05 23:03
Colin Angus Mackay20-Aug-05 23:03 
GeneralRe: XML Database Pin
Frank Kerrigan23-Aug-05 0:15
Frank Kerrigan23-Aug-05 0:15 
QuestionNewbie: ODBC or OleDb SQL Command Dictionary? Pin
zPaul19-Aug-05 9:49
zPaul19-Aug-05 9:49 
GeneralDataGrid bounded to a DataTable with composite key Pin
miah alom19-Aug-05 7:33
miah alom19-Aug-05 7:33 
Generaldropdownlist in datagrid Pin
sarah_chandran19-Aug-05 1:01
sarah_chandran19-Aug-05 1:01 
GeneralRe: dropdownlist in datagrid Pin
miah alom19-Aug-05 6:24
miah alom19-Aug-05 6:24 
GeneralHELP unable to connect to sql server Pin
christy1818-Aug-05 23:56
christy1818-Aug-05 23:56 
GeneralRe: HELP unable to connect to sql server Pin
Colin Angus Mackay19-Aug-05 0:21
Colin Angus Mackay19-Aug-05 0:21 
GeneralRe: an aside: localhost Pin
Scott Serl19-Aug-05 10:28
Scott Serl19-Aug-05 10:28 
GeneralRe: an aside: localhost Pin
Luis Alonso Ramos19-Aug-05 14:26
Luis Alonso Ramos19-Aug-05 14:26 
GeneralRe: an aside: localhost Pin
Scott Serl20-Aug-05 7:29
Scott Serl20-Aug-05 7:29 

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.