create or replace trigger stu_trig
after delete or insert or UPDATE on tb_student
declare
age number;
cnt number;
begin
if inserting then
select min(TRUNC(months_between(sysdate, birthday)/12)) into age from tb_student;
dbms_output.put_line(age);
elsif deleting then
select count(*) into cnt from tb_student;
dbms_output.put_line(cnt);
......................
阅读全部
|
mimijilu
贴于 2019年6月1日 20:07
hide
bbsi
#include<stdio.h>
#define N 3
struct student
{char num[10];
char name[20];
char coure[20];
float score[2];
float lastscore;
};
int main()
{
void input(struct student stu[]);
......................
阅读全部
|
简安呐
贴于 2019年5月30日 22:46
hide
bbsi
新手 这样为什么不对呢 想要选择三个数中最大的数
#include <stdio.h>
int mian ()
{
int a, b, c;
{
if (a >b)
{
a > c;
printf a;
}
else b > c;
......................
阅读全部
|
理智紫藤
贴于 2019年5月28日 22:44
hide
bbsi
#include <stdio.h>
int main() {
printf("我爱你,编程中国\n");
return 0;
}
阅读全部
|
橘子哥哥
贴于 2019年5月23日 19:43
hide
bbsi
= ['1','2','3','4','5','6','7','8','9']
for i in range(len(a)):
if int(a[i]) % 2 == 0:
a[i] = " "
print(" ".join(a))
阅读全部 | 玖月 贴于 2019-05-01 21:46:29 hide bbsi
[C语言]小臧 贴于 2019-04-29 11:43:48
1:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before string constant
INPUT"x=";x
^
1:11: error: unknown type name ‘x’
INPUT"x=";x
......................
阅读全部
|
贾梦良
贴于 2019年5月18日 16:20
hide
bbsi
= ['1','2','3','4','5','6','7','8','9']
for i in range(len(a)):
if int(a[i]) % 2 == 0:
a[i] = " "
print(" ".join(a))
阅读全部 | 玖月 贴于 2019-05-01 21:46:29 hide bbsi
[C语言]小臧 贴于 2019-04-29 11:43:48
1:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before string constant
INPUT"x=";x
^
1:11: error: unknown type name ‘x’
INPUT"x=";x
......................
阅读全部
|
贾梦良
贴于 2019年5月18日 16:20
hide
bbsi
a = ['1','2','3','4','5','6','7','8','9']
for i in range(len(a)):
if int(a[i]) % 2 == 0:
a[i] = " "
print(" ".join(a))
阅读全部
|
玖月
贴于 2019年5月1日 21:46
hide
bbsi
1:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before string constant
INPUT"x=";x
^
1:11: error: unknown type name ‘x’
INPUT"x=";x
^
3:1: error: expected ‘,’ or ‘;’ before ‘PRINT’
PRINT"y=";y=x^2+x^3-x
^
3:11: warning: data definition has no type or storage class
PRINT"y=";y=x^2+x^3-x
^
......................
阅读全部
|
小臧
贴于 2019年4月29日 11:43
hide
bbsi
clear all;close all;clc
mu=0.00004;
lamuta1=0.2;
lamuta2=0.9;
h1=0;
h2=0.5;
h12=h2-h1;
hs=(h2*h2-h1*h1)/2;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
k11=-0.932;
k22=-0.231;
I6=eye(6);
......................
阅读全部
|
Near_L
贴于 2019年4月21日 17:39
hide
bbsi
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title> 炫酷的爬行动画鼠标跟随-jq22.com</title>
<script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>
<style>
</style>
</head>
<body>
<div></div>
......................
阅读全部
|
戴子涵
贴于 2019年4月17日 18:32
hide
bbsi