刚自学完oracle的基础,所以就想找一些SQL问题来练练手,所以就选择了这个50sql语句,因为找到的版本不是oracle的,所以尝试着用oracle来实现.这篇博文主要是想记录在做这50道题的时候的理解,答案跟网上的差不多.现在就把这二天刚做的发上来.4个表的数据student表SQL>
sel...
分类:
数据库 时间:
2014-05-17 14:51:39
阅读次数:
496
SQL> conn scott/tiger@vm_databaseConnected
to Oracle Database 11g Enterprise Edition Release 11.1.0.6.0Connected as
scott。。。。。。SQL> drop table student...
分类:
数据库 时间:
2014-05-15 16:33:54
阅读次数:
332
本文语句大部分SQL语句来自《数据库系统概论》(第四版)王珊&萨师煊
,是我们上课用的教材,感觉很不错,总结了其中第三章的SQL语句,比较实用,希望对大家有帮助。总结如下,可以用来学习基础的SQL语句。建立数据库CREATE
DATABASE DB_Student建立表CREATE TABLE St...
分类:
数据库 时间:
2014-05-15 10:46:24
阅读次数:
501
Problem Description
The new semester begins! Different kinds of student societies are all trying to advertise themselves, by giving flyers to the students for introducing the society. However, due ...
分类:
其他好文 时间:
2014-05-15 03:57:24
阅读次数:
311
//***************************************************************
//结构体:简单的静态链表
#include
#include
#define NULL 0
#define SIZE 10
struct student
{
char num[SIZE];
float score;
struct student *next;
...
分类:
编程语言 时间:
2014-05-15 02:55:09
阅读次数:
359
Student类有集合属性Courses,如何把Student连同集合属性Courses传递给控制器方法?
public class Student { public string StudentName { get; set; } public IList
Courses { get; set; ...
分类:
Web程序 时间:
2014-05-14 12:49:24
阅读次数:
351
-- 创建数据表,定义存储数据信息表的结构--CREATE TABLE T_Student (name
text, age integer, phoneNo text);--
删除数据表,通常在不需要使用某一个表的时候,才会用到,日常开发中极少会用到此命令--DROP TABLE T_Student...
分类:
移动开发 时间:
2014-05-14 11:20:03
阅读次数:
395
(13)where字句操作符
= 等于
!= 不等于
> 大于
>= 大于等于
BETWEEN 在指定的两个值之间
例如:
找出学号是0007到0009之间的学生记录(不包括0009)?
SELECT* FROM student_info WHERE stu_id B...
分类:
数据库 时间:
2014-05-13 13:27:33
阅读次数:
368
class Student { private string _name; public int
Age = 0; public static void Test() { Student stu = new ...
分类:
其他好文 时间:
2014-05-09 20:27:01
阅读次数:
305
insert 触发器示例create trigger tri_inserton studentfor
insertasdeclare @student_id char(10)select @student_id=s.student_id fromstudent
s inner join insert...
分类:
其他好文 时间:
2014-05-09 19:43:53
阅读次数:
296