데이타베이스 sql, 쿼리문작성과 소스코드입니다 A+자료 ^^
- 최초 등록일
- 2007.11.26
- 최종 저작일
- 2007.11
- 7페이지/ 한컴오피스
- 가격 2,000원
소개글
안녕하세요~!
데이타 베이스 수업때 무조건 나오는 레포트인 주어진 문제에 대한 sql쿼리문 작성과
그 쿼리문을 C언어나 C++에서 돌아갈 수 있도록 작성하는 프로그램까지 결과 화면과 같이
깔끔하게 정리하였습니다
당근 A+ 자료이고요 이자료 받으신분들 모두 A+받으세요 ^^
목차
1. SQL 쿼리문 알고리즘(소스코드)
2. SQL 문제와 쿼리문
3. 결과화면 캡춰
본문내용
1. 데이터베이스 과목을 수강한 학생 수와 학생의 이름을 모두 나열 하시오
select count<sname> as `DB를 수강한 학생수와 이름` from student, enroll, course where (student.sno = enroll.sno) and (enroll.cno = course.cno) and course.cname=`데이타베이스 응용` union select student.sname from student, enroll, course where (student.sno = enroll.sno) and (enroll.cno = course.cno) and course.cname=`데이타베이스 응용`;
2.박태호 학생이 수강 신청한 과목과 과목의 교수님 이름을 나열 하 시오
select course.cname, professor.pname from professor, lecture, course, enroll, student where (student.sno = enroll.sno) and (enroll.cno = course.cno) and (enroll.cno = lecture.cno) and (lecture.pno = professor.pno) and student.sname=`박태호`;
******************* 중략 **************************************
정확하고 자세한 주석을 달은 소스코드(알고리즘) 및 결과화면 캡춰 까지 하였습니다 ^^
참고 자료
없음