Click here to Skip to main content
15,922,894 members
Home / Discussions / Database
   

Database

 
AnswerRe: Help in Query?? Pin
Blue_Boy3-Sep-08 5:20
Blue_Boy3-Sep-08 5:20 
GeneralRe: Help in Query?? Pin
geekfromindia3-Sep-08 5:23
geekfromindia3-Sep-08 5:23 
AnswerRe: Help in Query?? Pin
Ashfield3-Sep-08 5:25
Ashfield3-Sep-08 5:25 
GeneralRe: Help in Query?? Pin
geekfromindia3-Sep-08 5:33
geekfromindia3-Sep-08 5:33 
GeneralRe: Help in Query?? Pin
geekfromindia3-Sep-08 5:42
geekfromindia3-Sep-08 5:42 
GeneralRe: Help in Query?? Pin
Ashfield3-Sep-08 7:34
Ashfield3-Sep-08 7:34 
QuestionSQL DTS help, need certain fields from excel sheet to update in DB Pin
a_kubiak3-Sep-08 3:34
a_kubiak3-Sep-08 3:34 
QuestionShowing precentage using GROUP BY clause Pin
Muammar©3-Sep-08 1:45
Muammar©3-Sep-08 1:45 
SELECT AGE_CATEGORY, SUM(MALES) AS MALES, SUM(FEMALES) AS FEMALES FROM AGE_CATS GROUP BY AGE_CATEGORY

AGE_CATEGORY        MALES     FEMALES           %
------------                 -----         -------                 --
0-5                           200         400                   60%
5-14                         200         200                   40%


I'm having this select statement which outputs the first three columns and wish to have the third column "textually typed by me now for this post".. How can I get the last columnConfused | :confused:

Please help guys!


All generalizations are wrong, including this one!
(\ /)
(O.o)
(><)

modified on Wednesday, September 3, 2008 7:58 AM

AnswerRe: Showing precentage using GROUP BY clause Pin
Paddy Boyd3-Sep-08 2:37
Paddy Boyd3-Sep-08 2:37 
GeneralRe: Showing precentage using GROUP BY clause Pin
Muammar©3-Sep-08 3:47
Muammar©3-Sep-08 3:47 
AnswerRe: Showing precentage using GROUP BY clause Pin
Ashfield3-Sep-08 2:41
Ashfield3-Sep-08 2:41 
GeneralRe: Showing precentage using GROUP BY clause Pin
Muammar©3-Sep-08 3:55
Muammar©3-Sep-08 3:55 
GeneralRe: Showing precentage using GROUP BY clause Pin
Ashfield3-Sep-08 5:19
Ashfield3-Sep-08 5:19 
Questionquery to get number of childs from parent child table Pin
sepel2-Sep-08 20:38
sepel2-Sep-08 20:38 
AnswerRe: query to get number of childs from parent child table Pin
Blue_Boy2-Sep-08 20:47
Blue_Boy2-Sep-08 20:47 
AnswerRe: query to get number of childs from parent child table Pin
razov2-Sep-08 23:48
razov2-Sep-08 23:48 
AnswerRe: query to get number of childs from parent child table Pin
Paddy Boyd3-Sep-08 2:38
Paddy Boyd3-Sep-08 2:38 
QuestionHow to prevent adding a duplicate value into a table Pin
makumazan842-Sep-08 13:25
makumazan842-Sep-08 13:25 
AnswerRe: How to prevent adding a duplicate value into a table Pin
Blue_Boy2-Sep-08 13:43
Blue_Boy2-Sep-08 13:43 
GeneralRe: How to prevent adding a duplicate value into a table Pin
makumazan842-Sep-08 15:01
makumazan842-Sep-08 15:01 
GeneralRe: How to prevent adding a duplicate value into a table Pin
Blue_Boy2-Sep-08 15:38
Blue_Boy2-Sep-08 15:38 
AnswerRe: How to prevent adding a duplicate value into a table Pin
TheFM2342-Sep-08 19:26
TheFM2342-Sep-08 19:26 
GeneralRe: How to prevent adding a duplicate value into a table Pin
makumazan842-Sep-08 22:48
makumazan842-Sep-08 22:48 
GeneralRe: How to prevent adding a duplicate value into a table Pin
Ashfield3-Sep-08 1:22
Ashfield3-Sep-08 1:22 
Questiontext in sql Pin
dgreat12-Sep-08 12:38
dgreat12-Sep-08 12:38 

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.