Click here to Skip to main content
15,887,328 members
Home / Discussions / Database
   

Database

 
QuestionQuery Execution Time Management. Pin
Nasir Abbas5-May-16 7:27
Nasir Abbas5-May-16 7:27 
AnswerRe: Query Execution Time Management. Pin
Richard Deeming5-May-16 7:34
mveRichard Deeming5-May-16 7:34 
GeneralRe: Query Execution Time Management. Pin
Nasir Abbas5-May-16 19:41
Nasir Abbas5-May-16 19:41 
GeneralRe: Query Execution Time Management. Pin
Richard Deeming6-May-16 0:53
mveRichard Deeming6-May-16 0:53 
GeneralRe: Query Execution Time Management. Pin
Nasir Abbas8-May-16 23:32
Nasir Abbas8-May-16 23:32 
Questionaddition having null values in between Pin
Member 118403633-May-16 8:22
Member 118403633-May-16 8:22 
AnswerRe: addition having null values in between Pin
Tomas Takac3-May-16 8:59
Tomas Takac3-May-16 8:59 
GeneralRe: addition having null values in between Pin
Member 118403633-May-16 9:18
Member 118403633-May-16 9:18 
C#
create or replace view Total_TABLE as
select 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,29,30,31,1+2+3+4+5+6+7+8+9+10+11+12+13+14+15+16+17+18+19+20+21+22+23+24+25+26+27+28+29+29+30+31 as Total
from Add_attend;


the problem is when there is a null value in the table the final result after adding is Null and I want the result of all all the numbers and NOT null value.

I am using mysql wampserver
GeneralRe: addition having null values in between Pin
Tomas Takac3-May-16 9:51
Tomas Takac3-May-16 9:51 
GeneralRe: addition having null values in between Pin
Member 118403633-May-16 15:03
Member 118403633-May-16 15:03 
AnswerRe: addition having null values in between Pin
ZurdoDev3-May-16 9:07
professionalZurdoDev3-May-16 9:07 
GeneralRe: addition having null values in between Pin
Member 118403633-May-16 9:32
Member 118403633-May-16 9:32 
AnswerRe: addition having null values in between Pin
ZurdoDev3-May-16 9:34
professionalZurdoDev3-May-16 9:34 
GeneralRe: addition having null values in between Pin
Member 118403633-May-16 9:42
Member 118403633-May-16 9:42 
GeneralRe: addition having null values in between Pin
ZurdoDev3-May-16 9:45
professionalZurdoDev3-May-16 9:45 
QuestionAlternatives to IBM DB2/Oracle? Pin
Member 1249383629-Apr-16 10:36
Member 1249383629-Apr-16 10:36 
AnswerRe: Alternatives to IBM DB2/Oracle? Pin
rick_lively30-Apr-16 10:40
rick_lively30-Apr-16 10:40 
NewsOmniDB - An Open Source Web Tool For Database Management and Conversion Pin
William Ivanski29-Apr-16 5:11
professionalWilliam Ivanski29-Apr-16 5:11 
GeneralRe: OmniDB - An Open Source Web Tool For Database Management and Conversion Pin
Eddy Vluggen29-Apr-16 6:36
professionalEddy Vluggen29-Apr-16 6:36 
GeneralRe: OmniDB - An Open Source Web Tool For Database Management and Conversion Pin
William Ivanski29-Apr-16 6:52
professionalWilliam Ivanski29-Apr-16 6:52 
GeneralRe: OmniDB - An Open Source Web Tool For Database Management and Conversion Pin
Eddy Vluggen29-Apr-16 7:21
professionalEddy Vluggen29-Apr-16 7:21 
GeneralRe: OmniDB - An Open Source Web Tool For Database Management and Conversion Pin
Rafael T. Castro29-Apr-16 9:34
Rafael T. Castro29-Apr-16 9:34 
Questioni want to create data base by using c++ language Pin
Member 1249285029-Apr-16 0:01
Member 1249285029-Apr-16 0:01 
AnswerRe: i want to create data base by using c++ language Pin
Eddy Vluggen29-Apr-16 0:26
professionalEddy Vluggen29-Apr-16 0:26 
AnswerRe: i want to create data base by using c++ language Pin
ZurdoDev29-Apr-16 8:09
professionalZurdoDev29-Apr-16 8:09 

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.