Click here to Skip to main content
15,915,076 members
Home / Discussions / Database
   

Database

 
QuestionDelete instead of Update Pin
CodingYoshi20-Jan-09 19:06
CodingYoshi20-Jan-09 19:06 
AnswerRe: Delete instead of Update Pin
Mycroft Holmes20-Jan-09 20:56
professionalMycroft Holmes20-Jan-09 20:56 
GeneralRe: Delete instead of Update Pin
Jon_Boy21-Jan-09 2:32
Jon_Boy21-Jan-09 2:32 
AnswerRe: Delete instead of Update Pin
Wendelius20-Jan-09 21:07
mentorWendelius20-Jan-09 21:07 
QuestionTable Structure Pin
CodingYoshi20-Jan-09 19:03
CodingYoshi20-Jan-09 19:03 
AnswerRe: Table Structure Pin
Andy_L_J20-Jan-09 20:10
Andy_L_J20-Jan-09 20:10 
JokeRe: Table Structure Pin
Mycroft Holmes20-Jan-09 20:51
professionalMycroft Holmes20-Jan-09 20:51 
QuestionWhat is the right SQL Query... Pin
jacebeleren20-Jan-09 18:54
jacebeleren20-Jan-09 18:54 
Table Name: MyTable

ID NAME DATE
=============================
1 James 2008-08-29
2 Jack 2008-08-29
3 James 2008-08-31
4 Jack 2008-08-31
=============================

Above is my table named MyTable with fields ID, NAME and DATE. I got 2 different Names with two different Dates.

There are two records for James with different Dates:

James 2008-08-29
James 2008-08-31

..and two records for Jack with different Dates as well:

Jack 2008-08-29
Jack 2008-08-31


What I want is to display the record like this:

NAME DATE1 DATE2
=================================
James 2008-08-29 2008-08-31
Jack 2008-08-29 2008-08-31
=================================

I want to combine the records with the same Name and place the different Dates in separate columns. Please help me figure out what is the right SQL Query for this. Thanks in advance!
AnswerRe: What is the right SQL Query... Pin
Mycroft Holmes20-Jan-09 20:45
professionalMycroft Holmes20-Jan-09 20:45 
QuestionThe syntax 'for replication startup options' is deprecated and will be removed in MySQL 5.2. Please use 'CHANGE MASTER' instead. Pin
BobClarkSQL20-Jan-09 6:44
BobClarkSQL20-Jan-09 6:44 
AnswerRe: The syntax 'for replication startup options' is deprecated and will be removed in MySQL 5.2. Please use 'CHANGE MASTER' instead. Pin
Wendelius20-Jan-09 7:04
mentorWendelius20-Jan-09 7:04 
GeneralRe: The syntax 'for replication startup options' is deprecated and will be removed in MySQL 5.2. Please use 'CHANGE MASTER' instead. Pin
BobClarkSQL20-Jan-09 7:09
BobClarkSQL20-Jan-09 7:09 
GeneralRe: The syntax 'for replication startup options' is deprecated and will be removed in MySQL 5.2. Please use 'CHANGE MASTER' instead. Pin
Wendelius20-Jan-09 7:52
mentorWendelius20-Jan-09 7:52 
GeneralRe: The syntax 'for replication startup options' is deprecated and will be removed in MySQL 5.2. Please use 'CHANGE MASTER' instead. Pin
BobClarkSQL20-Jan-09 8:23
BobClarkSQL20-Jan-09 8:23 
GeneralRe: The syntax 'for replication startup options' is deprecated and will be removed in MySQL 5.2. Please use 'CHANGE MASTER' instead. Pin
Wendelius20-Jan-09 8:39
mentorWendelius20-Jan-09 8:39 
GeneralRe: The syntax 'for replication startup options' is deprecated and will be removed in MySQL 5.2. Please use 'CHANGE MASTER' instead. Pin
BobClarkSQL20-Jan-09 8:51
BobClarkSQL20-Jan-09 8:51 
GeneralRe: The syntax 'for replication startup options' is deprecated and will be removed in MySQL 5.2. Please use 'CHANGE MASTER' instead. Pin
Wendelius20-Jan-09 8:58
mentorWendelius20-Jan-09 8:58 
GeneralRe: The syntax 'for replication startup options' is deprecated and will be removed in MySQL 5.2. Please use 'CHANGE MASTER' instead. Pin
BobClarkSQL20-Jan-09 9:02
BobClarkSQL20-Jan-09 9:02 
GeneralRe: The syntax 'for replication startup options' is deprecated and will be removed in MySQL 5.2. Please use 'CHANGE MASTER' instead. Pin
Wendelius20-Jan-09 9:47
mentorWendelius20-Jan-09 9:47 
QuestionI have Seven Separate MySQL Servers that Have The Same Local Databases on Each Platform that need to update each other at the completion of a run (or test). Each Server will Retain its local results and also update the other 6 Servers when it complet Pin
BobClarkSQL20-Jan-09 6:01
BobClarkSQL20-Jan-09 6:01 
AnswerRe: I have Seven Separate MySQL Servers that Have The Same Local Databases on Each Platform that need to update each other at the completion of a run (or test). Each Server will Retain its local results and also update the other 6 Servers when it com Pin
Ashfield21-Jan-09 0:41
Ashfield21-Jan-09 0:41 
QuestionHow to use DBI Module Pin
sk8te32019-Jan-09 22:49
sk8te32019-Jan-09 22:49 
AnswerRe: How to use DBI Module Pin
Reza Raad20-Jan-09 0:32
Reza Raad20-Jan-09 0:32 
AnswerRe: How to use DBI Module [modified] Pin
Wendelius20-Jan-09 6:50
mentorWendelius20-Jan-09 6:50 
QuestionTable Date Migration Pin
faizurrahman19-Jan-09 20:49
faizurrahman19-Jan-09 20: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.