Click here to Skip to main content
15,914,500 members
Home / Discussions / Database
   

Database

 
AnswerRe: Diff. betn. nvarchar & varchar. Pin
Paddy Boyd9-Apr-06 23:29
Paddy Boyd9-Apr-06 23:29 
AnswerRe: Diff. betn. nvarchar & varchar. Pin
Colin Angus Mackay9-Apr-06 23:34
Colin Angus Mackay9-Apr-06 23:34 
AnswerRe: Diff. betn. nvarchar & varchar. Pin
Frank Kerrigan9-Apr-06 23:40
Frank Kerrigan9-Apr-06 23:40 
QuestionSimple (?) SQL Question Pin
ISIS559-Apr-06 10:08
ISIS559-Apr-06 10:08 
AnswerRe: Simple (?) SQL Question Pin
Colin Angus Mackay9-Apr-06 12:05
Colin Angus Mackay9-Apr-06 12:05 
GeneralRe: Simple (?) SQL Question Pin
ISIS559-Apr-06 15:07
ISIS559-Apr-06 15:07 
GeneralRe: Simple (?) SQL Question Pin
Colin Angus Mackay9-Apr-06 23:39
Colin Angus Mackay9-Apr-06 23:39 
QuestionSUM SQL? Pin
munklefish9-Apr-06 7:02
munklefish9-Apr-06 7:02 
Hi,

im not the best with SQL statements and have quite a tricky one to work out. If anyone could help me out id be extremely grateful.

I have a database of orders placed by customers, which need to be returned and counted in groups so for example the customer has ordered the following:


Car Tyre @ £50
Car Tyre @ £50
Car Door @ £25
Car Ariel @ £5
Car Tyre @ £50

So i need to return this information grouped as such:

3 * Car Tyre @ £150
1 * Car Door @ £25
1 * Car Ariel @ £5

it would also be useful to have a statement which gives me the same detail but with the price of a single item eg:

3 * Car Tyre @ £50
1 * Car Door @ £25
1 * Car Ariel @ £5

Thanks in advance!

munklefish
AnswerRe: SUM SQL? Pin
Gerald Schwab9-Apr-06 8:29
Gerald Schwab9-Apr-06 8:29 
Question[INFO]For sqlexpress users Pin
Jerry Hammond9-Apr-06 4:38
Jerry Hammond9-Apr-06 4:38 
QuestionADO.NET in Visual Studio 2005 Pin
tanpanjang8-Apr-06 9:14
tanpanjang8-Apr-06 9:14 
AnswerRe: ADO.NET in Visual Studio 2005 Pin
Paddy Boyd9-Apr-06 23:31
Paddy Boyd9-Apr-06 23:31 
QuestionSQL Server 2000 Reporting Services VS.NET 2003 Pin
deklaritdude8-Apr-06 8:04
deklaritdude8-Apr-06 8:04 
AnswerRe: SQL Server 2000 Reporting Services VS.NET 2003 Pin
Frank Kerrigan9-Apr-06 23:46
Frank Kerrigan9-Apr-06 23:46 
QuestionSQL 2005 EXPRESS and Visual Studio 2005 Pin
ThePmanLives8-Apr-06 6:29
ThePmanLives8-Apr-06 6:29 
AnswerRe: SQL 2005 EXPRESS and Visual Studio 2005 Pin
Frank Kerrigan9-Apr-06 23:53
Frank Kerrigan9-Apr-06 23:53 
GeneralRe: SQL 2005 EXPRESS and Visual Studio 2005 Pin
ThePmanLives10-Apr-06 16:03
ThePmanLives10-Apr-06 16:03 
GeneralRe: SQL 2005 EXPRESS and Visual Studio 2005 Pin
Frank Kerrigan12-Apr-06 2:28
Frank Kerrigan12-Apr-06 2:28 
AnswerRe: SQL 2005 EXPRESS and Visual Studio 2005 Pin
Jerry Hammond10-Apr-06 7:41
Jerry Hammond10-Apr-06 7:41 
AnswerRe: SQL 2005 EXPRESS and Visual Studio 2005 Pin
jonathan1510-Apr-06 23:30
jonathan1510-Apr-06 23:30 
AnswerRe: SQL 2005 EXPRESS and Visual Studio 2005 Pin
ThePmanLives11-Apr-06 18:25
ThePmanLives11-Apr-06 18:25 
QuestionHelp using rollback with odbcCommand? Pin
cbhkenshin8-Apr-06 0:53
cbhkenshin8-Apr-06 0:53 
Questionconnect sqlserver and tally accounting software using .NET Pin
nesaraja7-Apr-06 19:32
nesaraja7-Apr-06 19:32 
QuestionVB Integration error Pin
gr8coaster3297-Apr-06 19:17
gr8coaster3297-Apr-06 19:17 
AnswerRe: VB Integration error Pin
Colin Angus Mackay7-Apr-06 23:49
Colin Angus Mackay7-Apr-06 23:49 

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.