Click here to Skip to main content
15,888,802 members
Home / Discussions / Database
   

Database

 
SuggestionRe: Database relationship for tables Pin
Nathan Minier1-Oct-15 7:15
professionalNathan Minier1-Oct-15 7:15 
QuestionMSaccess query to access random value from database Pin
Member 1202314130-Sep-15 4:50
Member 1202314130-Sep-15 4:50 
QuestionMusic Database Pin
morrism3530-Sep-15 2:30
morrism3530-Sep-15 2:30 
AnswerRe: Music Database Pin
Richard MacCutchan30-Sep-15 3:05
mveRichard MacCutchan30-Sep-15 3:05 
QuestionQuery is not producing the correct results(SOLVED) Pin
samflex28-Sep-15 5:45
samflex28-Sep-15 5:45 
AnswerRe: Query is not producing the correct results Pin
Richard Deeming28-Sep-15 6:22
mveRichard Deeming28-Sep-15 6:22 
GeneralRe: Query is not producing the correct results Pin
samflex28-Sep-15 7:32
samflex28-Sep-15 7:32 
QuestionMove GROUP_CONCAT's comma values to columns Pin
Jassim Rahma22-Sep-15 22:03
Jassim Rahma22-Sep-15 22:03 
Hi,

I am using below code to display times as Pivot table grouped by date, this is basically for fingerprint attendance... I am getting what I want like this:

2012-06-03 10:23:30,10:23:32,10:24:05,10:24:07,10:24:24,10:24:26

How can I make the comma separated values displayed in columns instead of comma so it will be something like this

created_date - time1 - time2 - time3 - time4 --- etc

this is the code:
SQL
SELECT created_date, GROUP_CONCAT(created_time) 
FROM fingerprint
GROUP BY created_date

Technology News @ www.JassimRahma.com

Questionpostgresql database issues Pin
Member 1191972221-Sep-15 22:09
Member 1191972221-Sep-15 22:09 
AnswerRe: postgresql database issues Pin
Richard MacCutchan21-Sep-15 22:50
mveRichard MacCutchan21-Sep-15 22:50 
GeneralRe: postgresql database issues Pin
Member 1191972221-Sep-15 23:23
Member 1191972221-Sep-15 23:23 
GeneralRe: postgresql database issues Pin
Richard MacCutchan21-Sep-15 23:27
mveRichard MacCutchan21-Sep-15 23:27 
GeneralRe: postgresql database issues Pin
Member 1191972221-Sep-15 23:31
Member 1191972221-Sep-15 23:31 
GeneralRe: postgresql database issues Pin
Member 1191972221-Sep-15 23:34
Member 1191972221-Sep-15 23:34 
GeneralRe: postgresql database issues Pin
Richard MacCutchan21-Sep-15 23:52
mveRichard MacCutchan21-Sep-15 23:52 
GeneralRe: postgresql database issues Pin
Member 1191972221-Sep-15 23:56
Member 1191972221-Sep-15 23:56 
GeneralRe: postgresql database issues Pin
Richard MacCutchan22-Sep-15 0:00
mveRichard MacCutchan22-Sep-15 0:00 
GeneralRe: postgresql database issues Pin
Member 1191972222-Sep-15 0:04
Member 1191972222-Sep-15 0:04 
GeneralRe: postgresql database issues Pin
Richard MacCutchan22-Sep-15 0:29
mveRichard MacCutchan22-Sep-15 0:29 
GeneralRe: postgresql database issues Pin
Member 1191972222-Sep-15 0:49
Member 1191972222-Sep-15 0:49 
GeneralRe: postgresql database issues Pin
Richard MacCutchan22-Sep-15 20:57
mveRichard MacCutchan22-Sep-15 20:57 
GeneralRe: postgresql database issues Pin
Member 1191972222-Sep-15 21:05
Member 1191972222-Sep-15 21:05 
GeneralRe: postgresql database issues Pin
Richard MacCutchan22-Sep-15 21:31
mveRichard MacCutchan22-Sep-15 21:31 
GeneralRe: postgresql database issues Pin
Member 1191972222-Sep-15 21:35
Member 1191972222-Sep-15 21:35 
GeneralRe: postgresql database issues Pin
Richard MacCutchan23-Sep-15 2:23
mveRichard MacCutchan23-Sep-15 2:23 

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.