Here is a quick SQL snippet to show some Database information. I'm only pulling Database name, date created, database owner Id and database long name.
| Title | Under | Posted on |
|---|---|---|
| nVision Tabular Report through PIA with prompts | PeopleSoft Technical | 02/02/2012 - 10:07pm |
| Can we create an AE to mass update Position - Jobcode data? | PeopleSoft Technical | 01/18/2012 - 3:11am |
| Pay Components on job data can be defaulted and setup based on the rules? | PeopleSoft Functional | 01/05/2012 - 4:58am |
| PSFT Authentication token failed for Node PSFT_HR | PeopleSoft Technical | 01/03/2012 - 12:21am |
Comments
Hello,
Could you help me? I need to place a script on a page in my website that displays the affiliates names and state they live in -
from the newest to the oldest.
Just for example sake lets say my database name is: affiliates
the fields involved are firstname, lastname, state ...
Could you show me the script that would do that?
Thank you.
I'm thinking you mean table name affiliates and not database name. you will need to find a way to display the results on your page but the SQL to pull the data from the database would look something like this:
FROM affiliates
GROUP BY firstname, lastname, state
ORDER BY date DESC
-- the order by is to order affiliates from the newest to the oldest
Post new comment