Saturday, June 4, 2016

SQL substring reverse



select name from (
select name,substr(name,-3) as nm,id from students
where marks >75 )
order by nm,id;

No comments:

Post a Comment