ap_mainframes
Active User
Joined: 29 Dec 2005 Posts: 181 Location: Canada
|
|
|
|
Hi,
I am just starting with DB2 and I need this pretty urgent.
My Db2 table has following feilds:
Policy
state
Can any one please suggest an SQL to do the following:
1. I need to pick up the states starting with SL & PF.
2. The results should order by policy
3. TOTAL NUMBER OF STATES THAT BEGIN BY sl%,ov% and of% or f%, by policy
Thanks for all the help you can provide. |
|