Dear All,

I remember that in Access it is possible create query that transform a table
(field value becoming column name).

For example from a table like

Student Name       Examination        Grade
--------------------------------------------
Marc               1st spring          12
Marc               Final               14
Pierre             2nd spring          07
Pierre             Final               40

I would like to present the data in the following way:

Student Name      1st spring    2nd spring    Final
---------------------------------------------------
Marc              12                          14
Pierre                          07            40


Is it possible to write a query in mySQL that would do such transformation
(without the previous knowledge of the different type of examination)?

Thanks in advance,

Benoit Marchal


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to