Click here to Skip to main content
15,904,934 members
Home / Discussions / Database
   

Database

 
QuestionRe: Small sql backup problem... [modified] Pin
Stanciu Vlad28-May-06 4:11
Stanciu Vlad28-May-06 4:11 
AnswerRe: Small sql backup problem... [modified] Pin
Colin Angus Mackay28-May-06 4:15
Colin Angus Mackay28-May-06 4:15 
NewsRe: Small sql backup problem... [modified] Pin
Stanciu Vlad29-May-06 1:29
Stanciu Vlad29-May-06 1:29 
GeneralRe: Small sql backup problem... [modified] Pin
Colin Angus Mackay29-May-06 4:37
Colin Angus Mackay29-May-06 4:37 
QuestionEnterprise Library - Data Access layer Pin
devvvy27-May-06 22:36
devvvy27-May-06 22:36 
QuestionInserting a New Record in MSAccess Pin
ADY00727-May-06 12:02
ADY00727-May-06 12:02 
Questiongrouped Pin
Amarni27-May-06 1:50
Amarni27-May-06 1:50 
AnswerRe: grouped Pin
Colin Angus Mackay27-May-06 2:22
Colin Angus Mackay27-May-06 2:22 
Amarni wrote:
imagine that this table have one student have the same ID and same name but ... there are no Primary keys


So what is ID if not the primary key?


Amarni wrote:
i need the last one


What do you mean by "the last one"? Databases contain sets of data there is no implied order of anything in the database. If you want to make something ordered then it has to be ordered on a column or columns. Which column defines the order?


Amarni wrote:
can i use grouped by Name alone or i should make a grouped by name,ID,..


GROUP BY will allow you to aggregate the other columns based on the column or columns you are GROUPing BY. That means you will no longer be able to access ID, Sname, Schools other than through an aggregation function such as MIN(), MAX(), SUM(), AVG() etc.


"On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question."
--Charles Babbage (1791-1871)

My: Website | Blog
Questionneed help in ADO VC++ Pin
GANsJob26-May-06 18:56
GANsJob26-May-06 18:56 
QuestionSQL Server Cursor - Quick Question Pin
Jawz-X26-May-06 10:12
Jawz-X26-May-06 10:12 
GeneralRe: SQL Server Cursor - Quick Question Pin
Jawz-X26-May-06 10:18
Jawz-X26-May-06 10:18 
AnswerRe: SQL Server Cursor - Quick Question Pin
Eric Dahlvang26-May-06 11:12
Eric Dahlvang26-May-06 11:12 
QuestionRe: SQL Server Cursor - Quick Question Pin
Jawz-X26-May-06 11:53
Jawz-X26-May-06 11:53 
AnswerRe: SQL Server Cursor - Quick Question Pin
Colin Angus Mackay26-May-06 21:20
Colin Angus Mackay26-May-06 21:20 
Questionproblem with sql server Pin
lucky123456026-May-06 9:12
lucky123456026-May-06 9:12 
AnswerRe: problem with sql server Pin
Colin Angus Mackay26-May-06 11:31
Colin Angus Mackay26-May-06 11:31 
QuestionSQL - SELECT Question Pin
ensger26-May-06 7:23
ensger26-May-06 7:23 
AnswerRe: SQL - SELECT Question Pin
Kschuler26-May-06 9:30
Kschuler26-May-06 9:30 
GeneralRe: SQL - SELECT Question Pin
ensger26-May-06 18:02
ensger26-May-06 18:02 
GeneralFound it - thanks Pin
ensger27-May-06 1:01
ensger27-May-06 1:01 
QuestionGet XML node as 'text' data type Pin
Jim Conigliaro25-May-06 8:53
Jim Conigliaro25-May-06 8:53 
AnswerRe: Get XML node as 'text' data type Pin
Arjan Einbu25-May-06 12:49
Arjan Einbu25-May-06 12:49 
QuestionBest Practices for including a SQL DB as part of your apps Pin
gantww25-May-06 8:24
gantww25-May-06 8:24 
AnswerRe: Best Practices for including a SQL DB as part of your apps Pin
Rob Graham25-May-06 11:10
Rob Graham25-May-06 11:10 
QuestionSQL server 2005 express ed Pin
Paps225-May-06 7:54
Paps225-May-06 7:54 

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.