Find the name of the students and their department names sorted by their total credits in ascending order.
create table student (name varchar, dept_name varchar, tot_cred varchar, PRIMARY KEY (name))
select name, dept_name from student order by tot_cred