Click here to Skip to main content
15,791,602 members
Home / Discussions / Database
   

Database

 
SuggestionRe: Database relationship for tables Pin
Nathan Minier1-Oct-15 8:15
professionalNathan Minier1-Oct-15 8:15 
QuestionMSaccess query to access random value from database Pin
Member 1202314130-Sep-15 5:50
Member 1202314130-Sep-15 5:50 
QuestionMusic Database Pin
morrism3530-Sep-15 3:30
morrism3530-Sep-15 3:30 
AnswerRe: Music Database Pin
Richard MacCutchan30-Sep-15 4:05
mveRichard MacCutchan30-Sep-15 4:05 
QuestionQuery is not producing the correct results(SOLVED) Pin
samflex28-Sep-15 6:45
samflex28-Sep-15 6:45 
AnswerRe: Query is not producing the correct results Pin
Richard Deeming28-Sep-15 7:22
mveRichard Deeming28-Sep-15 7:22 
GeneralRe: Query is not producing the correct results Pin
samflex28-Sep-15 8:32
samflex28-Sep-15 8:32 
QuestionMove GROUP_CONCAT's comma values to columns Pin
Jassim Rahma22-Sep-15 23:03
Jassim Rahma22-Sep-15 23: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 23:09
Member 1191972221-Sep-15 23:09 
AnswerRe: postgresql database issues Pin
Richard MacCutchan21-Sep-15 23:50
mveRichard MacCutchan21-Sep-15 23:50 
GeneralRe: postgresql database issues Pin
Member 1191972222-Sep-15 0:23
Member 1191972222-Sep-15 0:23 
GeneralRe: postgresql database issues Pin
Richard MacCutchan22-Sep-15 0:27
mveRichard MacCutchan22-Sep-15 0:27 
GeneralRe: postgresql database issues Pin
Member 1191972222-Sep-15 0:31
Member 1191972222-Sep-15 0:31 
GeneralRe: postgresql database issues Pin
Member 1191972222-Sep-15 0:34
Member 1191972222-Sep-15 0:34 
GeneralRe: postgresql database issues Pin
Richard MacCutchan22-Sep-15 0:52
mveRichard MacCutchan22-Sep-15 0:52 
GeneralRe: postgresql database issues Pin
Member 1191972222-Sep-15 0:56
Member 1191972222-Sep-15 0:56 
GeneralRe: postgresql database issues Pin
Richard MacCutchan22-Sep-15 1:00
mveRichard MacCutchan22-Sep-15 1:00 
GeneralRe: postgresql database issues Pin
Member 1191972222-Sep-15 1:04
Member 1191972222-Sep-15 1:04 
GeneralRe: postgresql database issues Pin
Richard MacCutchan22-Sep-15 1:29
mveRichard MacCutchan22-Sep-15 1:29 
GeneralRe: postgresql database issues Pin
Member 1191972222-Sep-15 1:49
Member 1191972222-Sep-15 1:49 
GeneralRe: postgresql database issues Pin
Richard MacCutchan22-Sep-15 21:57
mveRichard MacCutchan22-Sep-15 21:57 
GeneralRe: postgresql database issues Pin
Member 1191972222-Sep-15 22:05
Member 1191972222-Sep-15 22:05 
GeneralRe: postgresql database issues Pin
Richard MacCutchan22-Sep-15 22:31
mveRichard MacCutchan22-Sep-15 22:31 
GeneralRe: postgresql database issues Pin
Member 1191972222-Sep-15 22:35
Member 1191972222-Sep-15 22:35 
GeneralRe: postgresql database issues Pin
Richard MacCutchan23-Sep-15 3:23
mveRichard MacCutchan23-Sep-15 3: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.