sql stringlengths 6 1.05M |
|---|
SELECT player
FROM game ga
INNER JOIN goal go ON ga.id = go.matchid AND ga.id = go.matchid
WHERE ga.stadium = 'National Stadium, Warsaw' |
CREATE TYPE [Queue_Schema_Name].[MessageList] AS TABLE (
[ID] INT NOT NULL,
[Body] VARBINARY (8000) NOT NULL,
PRIMARY KEY NONCLUSTERED HASH ([ID]) WITH (BUCKET_COUNT = 1024))
WITH (MEMORY_OPTIMIZED = ON);
|
ALTER TABLE `community` ADD `notify_cs_when_driver_dont_checkin` tinyint(1) NOT NULL DEFAULT '1'; |
<filename>docker/ordinaryroad-mysql/sql/init.sql
USE mysql;
UPDATE user SET HOST = '%' WHERE USER = 'root';
FLUSH PRIVILEGES; |
<reponame>cwoolcott/cwoolcott.github.io
DROP DATABASE IF EXISTS tvDB;
CREATE database tvDB;
USE tvDB;
CREATE TABLE tvshow (
showid INT NOT NULL AUTO_INCREMENT,
title VARCHAR(100) NULL,
genre VARCHAR(100) NULL,
network VARCHAR(100) NULL,
PRIMARY KEY (showid)
);
CREATE TABLE tvcharacter (
characterid INT NOT NULL AUTO_INCREMENT,
name VARCHAR(100) NULL,
quote VARCHAR(1000) NULL,
showid INT NULL,
PRIMARY KEY (characterid)
); |
<reponame>FanJingithub/performer<filename>v2/sql/lab.sql
use Test;
grant select, insert, update, delete on Test.* to 'root'@'localhost' identified by '1';
drop table if exists lab_0;
create table lab_0 (
`patient_id` varchar(20) default '',
`CEA` varchar(20) default '',
`CA199` varchar(20) default '',
primary key(patient_id)
) engine=innodb default charset=utf8;
drop table if exists lab_1;
create table lab_1 (
`patient_id` varchar(20) default '',
`CEA` varchar(20) default '',
`CA199` varchar(20) default '',
primary key(patient_id)
) engine=innodb default charset=utf8;
drop table if exists lab_2;
create table lab_2 (
`patient_id` varchar(20) default '',
`CEA` varchar(20) default '',
`CA199` varchar(20) default '',
primary key(patient_id)
) engine=innodb default charset=utf8;
drop table if exists lab_3;
create table lab_3 (
`patient_id` varchar(20) default '',
`CEA` varchar(20) default '',
`CA199` varchar(20) default '',
primary key(patient_id)
) engine=innodb default charset=utf8;
drop table if exists lab_4;
create table lab_4 (
`patient_id` varchar(20) default '',
`CEA` varchar(20) default '',
`CA199` varchar(20) default '',
primary key(patient_id)
) engine=innodb default charset=utf8;
drop table if exists lab_5;
create table lab_5 (
`patient_id` varchar(20) default '',
`CEA` varchar(20) default '',
`CA199` varchar(20) default '',
primary key(patient_id)
) engine=innodb default charset=utf8;
drop table if exists lab_6;
create table lab_6 (
`patient_id` varchar(20) default '',
`CEA` varchar(20) default '',
`CA199` varchar(20) default '',
primary key(patient_id)
) engine=innodb default charset=utf8;
drop table if exists lab_7;
create table lab_7 (
`patient_id` varchar(20) default '',
`CEA` varchar(20) default '',
`CA199` varchar(20) default '',
primary key(patient_id)
) engine=innodb default charset=utf8;
drop table if exists lab_8;
create table lab_8 (
`patient_id` varchar(20) default '',
`CEA` varchar(20) default '',
`CA199` varchar(20) default '',
primary key(patient_id)
) engine=innodb default charset=utf8;
drop table if exists lab_9;
create table lab_9 (
`patient_id` varchar(20) default '',
`CEA` varchar(20) default '',
`CA199` varchar(20) default '',
primary key(patient_id)
) engine=innodb default charset=utf8;
|
<filename>MonetDB/x64/MonetDB5/lib/monetdb5/createdb/20_vacuum.sql
-- This Source Code Form is subject to the terms of the Mozilla Public
-- License, v. 2.0. If a copy of the MPL was not distributed with this
-- file, You can obtain one at http://mozilla.org/MPL/2.0/.
--
-- Copyright 1997 - July 2008 CWI, August 2008 - 2016 MonetDB B.V.
-- Vacuum a relational table should be done with care.
-- For, the oid's are used in join-indices.
-- Vacuum of tables may improve IO performance and disk footprint.
-- The foreign key constraints should be dropped before
-- and re-established after the cluster operation.
create procedure shrink(sys string, tab string)
external name sql.shrink;
create procedure reuse(sys string, tab string)
external name sql.reuse;
create procedure vacuum(sys string, tab string)
external name sql.vacuum;
|
<gh_stars>1-10
CREATE TABLE IF NOT EXISTS "bookmarks" (
"id" SERIAL NOT NULL PRIMARY KEY,
"title" TEXT NOT NULL,
"url" TEXT NULL,
"description" TEXT NULL,
"created_at" TIMESTAMPTZ NOT NULL,
"updated_at" TIMESTAMPTZ NOT NULL
);
CREATE TABLE IF NOT EXISTS "tags" (
"tag" VARCHAR(256) NOT NULL PRIMARY KEY,
"created_at" TIMESTAMPTZ NOT NULL
);
CREATE TABLE IF NOT EXISTS "bookmarks_tags" (
"bookmark_id" BIGINT NOT NULL REFERENCES "bookmarks" ("id"),
"tag" BIGINT NOT NULL REFERENCES "tags" ("tag"),
PRIMARY KEY ("bookmark_id", "tag")
);
|
{% macro get_vendor_types_columns() %}
{% set columns = [
{"name": "_fivetran_deleted", "datatype": "boolean"},
{"name": "_fivetran_synced", "datatype": dbt_utils.type_timestamp()},
{"name": "date_deleted", "datatype": dbt_utils.type_timestamp()},
{"name": "isinactive", "datatype": dbt_utils.type_string()},
{"name": "name", "datatype": dbt_utils.type_string()},
{"name": "parent_id", "datatype": dbt_utils.type_float()},
{"name": "vendor_type_extid", "datatype": dbt_utils.type_string()},
{"name": "vendor_type_id", "datatype": dbt_utils.type_float()}
] %}
{{ return(columns) }}
{% endmacro %}
|
<filename>query/replicaset/replicaset_cpu_request.sql<gh_stars>10-100
select
-- Required Columns
uid as resource,
case
when c -> 'resources' -> 'requests' ->> 'cpu' is null then 'alarm'
else 'ok'
end as status,
case
when c -> 'resources' -> 'requests' ->> 'cpu' is null then c ->> 'name' || ' does not have a CPU request.'
else c ->> 'name' || ' has a CPU request of ' || (c -> 'resources' -> 'requests' ->> 'cpu') || '.'
end as reason,
-- Additional Dimensions
name as pod_name,
namespace,
context_name
from
kubernetes_replicaset,
jsonb_array_elements(template -> 'spec' -> 'containers') as c; |
<gh_stars>1000+
set linesize 200
set tab off
set pagesize 1000
column plan_table_output format a180
SELECT *
FROM table(DBMS_XPLAN.DISPLAY_CURSOR(FORMAT=>'BASIC'));
|
-- test1: cancel a query that is waiting for a slot
DROP ROLE IF EXISTS role_concurrency_test;
-- start_ignore
DROP RESOURCE GROUP rg_concurrency_test;
-- end_ignore
CREATE OR REPLACE VIEW rg_concurrency_view AS
SELECT waiting, waiting_reason, current_query, rsgname
FROM pg_stat_activity
WHERE rsgname='rg_concurrency_test';
CREATE RESOURCE GROUP rg_concurrency_test WITH (concurrency=1, cpu_rate_limit=20, memory_limit=20);
CREATE ROLE role_concurrency_test RESOURCE GROUP rg_concurrency_test;
1:SET ROLE role_concurrency_test;
1:BEGIN;
2:SET ROLE role_concurrency_test;
2&:BEGIN;
3:SET ROLE role_concurrency_test;
3&:BEGIN;
SELECT * FROM rg_concurrency_view;
SELECT pg_cancel_backend(procpid) FROM pg_stat_activity WHERE waiting_reason='resgroup' AND rsgname='rg_concurrency_test';
1:END;
2<:
3<:
SELECT * FROM rg_concurrency_view;
1q:
2q:
3q:
DROP ROLE role_concurrency_test;
DROP RESOURCE GROUP rg_concurrency_test;
-- test2: terminate a query that is waiting for a slot
DROP ROLE IF EXISTS role_concurrency_test;
-- start_ignore
DROP RESOURCE GROUP rg_concurrency_test;
-- end_ignore
CREATE RESOURCE GROUP rg_concurrency_test WITH (concurrency=1, cpu_rate_limit=20, memory_limit=20);
CREATE ROLE role_concurrency_test RESOURCE GROUP rg_concurrency_test;
1:SET ROLE role_concurrency_test;
1:BEGIN;
2:SET ROLE role_concurrency_test;
2&:BEGIN;
3:SET ROLE role_concurrency_test;
3&:BEGIN;
SELECT * FROM rg_concurrency_view;
SELECT pg_terminate_backend(procpid) FROM pg_stat_activity WHERE waiting_reason='resgroup' AND rsgname='rg_concurrency_test';
1:END;
2<:
3<:
SELECT * FROM rg_concurrency_view;
1q:
2q:
3q:
DROP ROLE role_concurrency_test;
DROP RESOURCE GROUP rg_concurrency_test;
-- test3: cancel a query that is running
DROP ROLE IF EXISTS role_concurrency_test;
-- start_ignore
DROP RESOURCE GROUP rg_concurrency_test;
-- end_ignore
CREATE RESOURCE GROUP rg_concurrency_test WITH (concurrency=2, cpu_rate_limit=20, memory_limit=20);
CREATE ROLE role_concurrency_test RESOURCE GROUP rg_concurrency_test;
1:SET ROLE role_concurrency_test;
1&:SELECT pg_sleep(10000);
2:SET ROLE role_concurrency_test;
2&:SELECT pg_sleep(10000);
6:SET ROLE role_concurrency_test;
6&:BEGIN;
7:SET ROLE role_concurrency_test;
7&:BEGIN;
SELECT * FROM rg_concurrency_view;
SELECT pg_cancel_backend(procpid) FROM pg_stat_activity WHERE waiting='f' AND rsgname='rg_concurrency_test';
1<:
2<:
6<:
7<:
SELECT * FROM rg_concurrency_view;
1q:
2q:
6q:
7q:
DROP ROLE role_concurrency_test;
DROP RESOURCE GROUP rg_concurrency_test;
-- test4: terminate a query that is running
DROP ROLE IF EXISTS role_concurrency_test;
-- start_ignore
DROP RESOURCE GROUP rg_concurrency_test;
-- end_ignore
CREATE RESOURCE GROUP rg_concurrency_test WITH (concurrency=2, cpu_rate_limit=20, memory_limit=20);
CREATE ROLE role_concurrency_test RESOURCE GROUP rg_concurrency_test;
1:SET ROLE role_concurrency_test;
1&:SELECT pg_sleep(10000);
2:SET ROLE role_concurrency_test;
2&:SELECT pg_sleep(10000);
6:SET ROLE role_concurrency_test;
6&:BEGIN;
7:SET ROLE role_concurrency_test;
7&:BEGIN;
SELECT * FROM rg_concurrency_view;
SELECT pg_terminate_backend(procpid) FROM pg_stat_activity WHERE waiting='f' AND rsgname='rg_concurrency_test';
1<:
2<:
6<:
7<:
SELECT * FROM rg_concurrency_view;
1q:
2q:
6q:
7q:
DROP ROLE role_concurrency_test;
DROP RESOURCE GROUP rg_concurrency_test;
DROP VIEW rg_concurrency_view;
|
<reponame>joni-jones/yii2
/**
* This is the database schema for testing PostgreSQL support of yii Active Record.
* To test this feature, you need to create a database named 'yiitest' on 'localhost'
* and create an account 'postgres/postgres' which owns this test database.
*/
DROP TABLE IF EXISTS "composite_fk" CASCADE;
DROP TABLE IF EXISTS "order_item" CASCADE;
DROP TABLE IF EXISTS "item" CASCADE;
DROP TABLE IF EXISTS "order_item_with_null_fk" CASCADE;
DROP TABLE IF EXISTS "order" CASCADE;
DROP TABLE IF EXISTS "order_with_null_fk" CASCADE;
DROP TABLE IF EXISTS "category" CASCADE;
DROP TABLE IF EXISTS "customer" CASCADE;
DROP TABLE IF EXISTS "profile" CASCADE;
DROP TABLE IF EXISTS "type" CASCADE;
DROP TABLE IF EXISTS "null_values" CASCADE;
DROP TABLE IF EXISTS "constraints" CASCADE;
DROP TABLE IF EXISTS "bool_values" CASCADE;
DROP TABLE IF EXISTS "animal" CASCADE;
DROP TABLE IF EXISTS "default_pk" CASCADE;
DROP TABLE IF EXISTS "document" CASCADE;
DROP TABLE IF EXISTS "question" CASCADE;
DROP VIEW IF EXISTS "animal_view";
DROP SCHEMA IF EXISTS "schema1" CASCADE;
DROP SCHEMA IF EXISTS "schema2" CASCADE;
CREATE SCHEMA "schema1";
CREATE SCHEMA "schema2";
CREATE TABLE "constraints"
(
id integer not null,
field1 varchar(255)
);
CREATE TABLE "profile" (
id serial not null primary key,
description varchar(128) NOT NULL
);
CREATE TABLE "schema1"."profile" (
id serial not null primary key,
description varchar(128) NOT NULL
);
CREATE TABLE "customer" (
id serial not null primary key,
email varchar(128) NOT NULL,
name varchar(128),
address text,
status integer DEFAULT 0,
bool_status boolean DEFAULT FALSE,
profile_id integer
);
comment on column public.customer.email is '<EMAIL>';
CREATE TABLE "category" (
id serial not null primary key,
name varchar(128) NOT NULL
);
CREATE TABLE "item" (
id serial not null primary key,
name varchar(128) NOT NULL,
category_id integer NOT NULL references "category"(id) on UPDATE CASCADE on DELETE CASCADE
);
CREATE TABLE "order" (
id serial not null primary key,
customer_id integer NOT NULL references "customer"(id) on UPDATE CASCADE on DELETE CASCADE,
created_at integer NOT NULL,
total decimal(10,0) NOT NULL
);
CREATE TABLE "order_with_null_fk" (
id serial not null primary key,
customer_id integer,
created_at integer NOT NULL,
total decimal(10,0) NOT NULL
);
CREATE TABLE "order_item" (
order_id integer NOT NULL references "order"(id) on UPDATE CASCADE on DELETE CASCADE,
item_id integer NOT NULL references "item"(id) on UPDATE CASCADE on DELETE CASCADE,
quantity integer NOT NULL,
subtotal decimal(10,0) NOT NULL,
PRIMARY KEY (order_id,item_id)
);
CREATE TABLE "order_item_with_null_fk" (
order_id integer,
item_id integer,
quantity integer NOT NULL,
subtotal decimal(10,0) NOT NULL
);
CREATE TABLE "composite_fk" (
id integer NOT NULL,
order_id integer NOT NULL,
item_id integer NOT NULL,
PRIMARY KEY (id),
CONSTRAINT FK_composite_fk_order_item FOREIGN KEY (order_id, item_id) REFERENCES "order_item" (order_id, item_id) ON DELETE CASCADE
);
CREATE TABLE "null_values" (
id serial NOT NULL,
var1 INT NULL,
var2 INT NULL,
var3 INT DEFAULT NULL,
stringcol VARCHAR(32) DEFAULT NULL,
PRIMARY KEY (id)
);
CREATE TABLE "type" (
int_col integer NOT NULL,
int_col2 integer DEFAULT '1',
smallint_col smallint DEFAULT '1',
char_col char(100) NOT NULL,
char_col2 varchar(100) DEFAULT 'something',
char_col3 text,
float_col double precision NOT NULL,
float_col2 double precision DEFAULT '1.23',
blob_col bytea,
numeric_col decimal(5,2) DEFAULT '33.22',
time timestamp NOT NULL DEFAULT '2002-01-01 00:00:00',
bool_col boolean NOT NULL,
bool_col2 boolean DEFAULT TRUE,
ts_default TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
bit_col BIT(8) NOT NULL DEFAULT B'10000010'
);
CREATE TABLE "bool_values" (
id serial not null primary key,
bool_col bool,
default_true bool not null default true,
default_false boolean not null default false
);
CREATE TABLE "animal" (
id serial primary key,
type varchar(255) not null
);
CREATE TABLE "default_pk" (
id integer not null default 5 primary key,
type varchar(255) not null
);
CREATE TABLE "document" (
id serial primary key,
title varchar(255) not null,
content text not null,
version integer not null default 0
);
CREATE VIEW "animal_view" AS SELECT * FROM "animal";
INSERT INTO "animal" (type) VALUES ('yiiunit\data\ar\Cat');
INSERT INTO "animal" (type) VALUES ('yiiunit\data\ar\Dog');
INSERT INTO "profile" (description) VALUES ('profile customer 1');
INSERT INTO "profile" (description) VALUES ('profile customer 3');
INSERT INTO "schema1"."profile" (description) VALUES ('profile customer 1');
INSERT INTO "schema1"."profile" (description) VALUES ('profile customer 3');
INSERT INTO "customer" (email, name, address, status, bool_status, profile_id) VALUES ('<EMAIL>', 'user1', 'address1', 1, true, 1);
INSERT INTO "customer" (email, name, address, status, bool_status) VALUES ('<EMAIL>', 'user2', 'address2', 1, true);
INSERT INTO "customer" (email, name, address, status, bool_status, profile_id) VALUES ('<EMAIL>', 'user3', 'address3', 2, false, 2);
INSERT INTO "category" (name) VALUES ('Books');
INSERT INTO "category" (name) VALUES ('Movies');
INSERT INTO "item" (name, category_id) VALUES ('Agile Web Application Development with Yii1.1 and PHP5', 1);
INSERT INTO "item" (name, category_id) VALUES ('Yii 1.1 Application Development Cookbook', 1);
INSERT INTO "item" (name, category_id) VALUES ('Ice Age', 2);
INSERT INTO "item" (name, category_id) VALUES ('Toy Story', 2);
INSERT INTO "item" (name, category_id) VALUES ('Cars', 2);
INSERT INTO "order" (customer_id, created_at, total) VALUES (1, 1325282384, 110.0);
INSERT INTO "order" (customer_id, created_at, total) VALUES (2, 1325334482, 33.0);
INSERT INTO "order" (customer_id, created_at, total) VALUES (2, 1325502201, 40.0);
INSERT INTO "order_with_null_fk" (customer_id, created_at, total) VALUES (1, 1325282384, 110.0);
INSERT INTO "order_with_null_fk" (customer_id, created_at, total) VALUES (2, 1325334482, 33.0);
INSERT INTO "order_with_null_fk" (customer_id, created_at, total) VALUES (2, 1325502201, 40.0);
INSERT INTO "order_item" (order_id, item_id, quantity, subtotal) VALUES (1, 1, 1, 30.0);
INSERT INTO "order_item" (order_id, item_id, quantity, subtotal) VALUES (1, 2, 2, 40.0);
INSERT INTO "order_item" (order_id, item_id, quantity, subtotal) VALUES (2, 4, 1, 10.0);
INSERT INTO "order_item" (order_id, item_id, quantity, subtotal) VALUES (2, 5, 1, 15.0);
INSERT INTO "order_item" (order_id, item_id, quantity, subtotal) VALUES (2, 3, 1, 8.0);
INSERT INTO "order_item" (order_id, item_id, quantity, subtotal) VALUES (3, 2, 1, 40.0);
INSERT INTO "order_item_with_null_fk" (order_id, item_id, quantity, subtotal) VALUES (1, 1, 1, 30.0);
INSERT INTO "order_item_with_null_fk" (order_id, item_id, quantity, subtotal) VALUES (1, 2, 2, 40.0);
INSERT INTO "order_item_with_null_fk" (order_id, item_id, quantity, subtotal) VALUES (2, 4, 1, 10.0);
INSERT INTO "order_item_with_null_fk" (order_id, item_id, quantity, subtotal) VALUES (2, 5, 1, 15.0);
INSERT INTO "order_item_with_null_fk" (order_id, item_id, quantity, subtotal) VALUES (2, 3, 1, 8.0);
INSERT INTO "order_item_with_null_fk" (order_id, item_id, quantity, subtotal) VALUES (3, 2, 1, 40.0);
INSERT INTO "document" (title, content, version) VALUES ('Yii 2.0 guide', 'This is Yii 2.0 guide', 0);
/**
* (Postgres-)Database Schema for validator tests
*/
DROP TABLE IF EXISTS "validator_main" CASCADE;
DROP TABLE IF EXISTS "validator_ref" CASCADE;
CREATE TABLE "validator_main" (
id integer not null primary key,
field1 VARCHAR(255)
);
CREATE TABLE "validator_ref" (
id integer not null primary key,
a_field VARCHAR(255),
ref integer
);
INSERT INTO "validator_main" (id, field1) VALUES (1, 'just a string1');
INSERT INTO "validator_main" (id, field1) VALUES (2, 'just a string2');
INSERT INTO "validator_main" (id, field1) VALUES (3, 'just a string3');
INSERT INTO "validator_main" (id, field1) VALUES (4, 'just a string4');
INSERT INTO "validator_ref" (id, a_field, ref) VALUES (1, 'ref_to_2', 2);
INSERT INTO "validator_ref" (id, a_field, ref) VALUES (2, 'ref_to_2', 2);
INSERT INTO "validator_ref" (id, a_field, ref) VALUES (3, 'ref_to_3', 3);
INSERT INTO "validator_ref" (id, a_field, ref) VALUES (4, 'ref_to_4', 4);
INSERT INTO "validator_ref" (id, a_field, ref) VALUES (5, 'ref_to_4', 4);
INSERT INTO "validator_ref" (id, a_field, ref) VALUES (6, 'ref_to_5', 5);
/**
* Tables for testing posgres arrays
*/
CREATE TABLE "question" (
id SERIAL NOT NULL PRIMARY KEY,
title CHARACTER VARYING(60),
tags text[] NOT NULL DEFAULT '{}'::text[],
related integer[] NOT NULL DEFAULT '{}'::integer[],
points numeric[] NOT NULL DEFAULT '{}'::numeric[]
);
|
<filename>sql/_17_sql_extension2/_02_full_test/_01_replace_insert_with_trigger/_02_insert_duplicate_update/cases/insert_update_012.sql
--insert multiple rows CASE 2.
--trigger: 1) before update 2) after update
--trigger action: insert.
CREATE TABLE with_trigger(a int unique, b int, c int);
INSERT INTO with_trigger VALUES (1, 11, 1), (2, 22, 2), (3, 33, 3);
SELECT * FROM with_trigger order by a;
CREATE TABLE trigger_actions(a int auto_increment, b int, c char(20));
CREATE TRIGGER trig_bef_upd BEFORE UPDATE ON with_trigger EXECUTE
INSERT INTO trigger_actions(b, c) VALUES (11, 'BEFORE UPDATE');
CREATE TRIGGER trig_aft_upd AFTER UPDATE ON with_trigger EXECUTE
INSERT INTO trigger_actions (b, c) VALUES (22, 'AFTER UPDATE');
INSERT INTO with_trigger VALUES(1, 2, 3), (2, 3, 4), (3, 4, 5) ON DUPLICATE KEY UPDATE c=a+b;
SELECT * FROM trigger_actions order by a;
SELECT * FROM with_trigger order by a;
DROP TRIGGER trig_bef_upd;
DROP TRIGGER trig_aft_upd;
DROP TABLE trigger_actions;
DROP TABLE with_trigger;
|
<gh_stars>0
-- @testpoint: 插入浮点数,四舍五入
drop table if exists bigserial_03;
create table bigserial_03 (name bigserial);
insert into bigserial_03 values (12122.12);
insert into bigserial_03 values (-12122.23);
insert into bigserial_03 values (-0.0000066);
insert into bigserial_03 values (-9999.99999);
select * from bigserial_03;
drop table bigserial_03;
|
CREATE TABLE [dbo].[Generos]
(
[Id] INT NOT NULL PRIMARY KEY IDENTITY(1,1),
[Tipo] VARCHAR(200) NULL,
[Descricao] VARCHAR(1000) NULL,
)
|
<filename>web/src/main/resources/org/support/project/web/dao/sql/LoginHistoriesDao/LoginHistoriesDao_select_on_login_count.sql
SELECT * FROM LOGIN_HISTORIES
WHERE
LOGIN_COUNT = ?
AND DELETE_FLAG = 0;
;
|
<filename>L1_selectBasics.sql<gh_stars>0
# LESSON 1.
# Please DO try the following queries yourselves but most importantly try different variations and always ask yourself: "Why am I getting this back?".
# SELECT is by far the most famous statement in SQL used to retrieve (aka query) data from a database.
# It supports all relational operators, sorting, grouping and aggregate functions but can be used as a subquery in expressions.
# Using https://www.w3schools.com/sql/trysql.asp?filename=trysql_op_in and the ER_diagram.png we have we can create and then analyse our first query.
SELECT CustomerName, City, Country # returns as a query response a table of three columns named: CustomerName, City, Country.
FROM Customers # the information returned is coming from the table named Customers.
WHERE Country='Spain' AND City='Madrid' # these are the conditions. Here we are asking only for the customers who live in Madrid, Spain.
# In the following query we are going to ask for all the customers who live in Spain, no matter in what city.
SELECT CustomerName, City, Country
FROM Customers
WHERE Country='Spain'
# In the next example we are going to query the Products table, asking for all the products which have price greater than £50.00
SELECT ProductName, Price
FROM Products
WHERE Price > 50
# Moving quickly into a more advanced aspect of SELECT keyword we can see that this statement can be also used to choose the number of record returned.
# This is useful on large tables with thousands of records since returning a large number of records can impact on performance.
# The following returns 91 records. Imagine a database with 91K customers.
SELECT *
FROM CUSTOMERS
# This 2 following queries will return the first 5 customers.
SELECT *
FROM Customers
LIMIT 5
SELECT TOP 5 *
FROM Customers
# We can also use percentages here:
SELECT TOP 50 PERCENT *
FROM Customers |
<reponame>cagrin/tSQLt-edge<filename>latest/tSQLt.Edge.Tests/InterfaceTests/Test_FakeFunction.sql<gh_stars>0
CREATE SCHEMA Test_FakeFunction;
GO
CREATE PROCEDURE Test_FakeFunction.Test_InlineTableValuedFunction
AS
BEGIN
EXEC tSQLt.FakeFunction 'dbo.TestFunctionIF', 'dbo.FakeFunctionIF';
DECLARE @Actual INT = (SELECT Column1 FROM dbo.TestFunctionIF());
EXEC tSQLt.AssertEquals 42, @Actual;
END;
GO
CREATE PROCEDURE Test_FakeFunction.Test_InlineTableValuedFunctionWithP1
AS
BEGIN
EXEC tSQLt.FakeFunction 'dbo.TestFunctionIF_P1', 'dbo.FakeFunctionIF_P1';
DECLARE @Actual INT = (SELECT Column1 FROM dbo.TestFunctionIF_P1(1));
EXEC tSQLt.AssertEquals 43, @Actual;
END;
GO
CREATE PROCEDURE Test_FakeFunction.Test_MultiStatementTableValuedFunction
AS
BEGIN
EXEC tSQLt.FakeFunction 'dbo.TestFunctionTF', 'dbo.FakeFunctionTF';
DECLARE @Actual INT = (SELECT Column1 FROM dbo.TestFunctionTF());
EXEC tSQLt.AssertEquals 42, @Actual;
END;
GO
CREATE PROCEDURE Test_FakeFunction.Test_MultiStatementTableValuedFunctionWithP1
AS
BEGIN
EXEC tSQLt.FakeFunction 'dbo.TestFunctionTF_P1', 'dbo.FakeFunctionTF_P1';
DECLARE @Actual INT = (SELECT Column1 FROM dbo.TestFunctionTF_P1(1));
EXEC tSQLt.AssertEquals 43, @Actual;
END;
GO
CREATE PROCEDURE Test_FakeFunction.Test_ScalarFunction
AS
BEGIN
EXEC tSQLt.FakeFunction 'dbo.TestFunctionScalar', 'dbo.FakeFunctionScalar';
DECLARE @Actual INT = dbo.TestFunctionScalar();
EXEC tSQLt.AssertEquals 42, @Actual;
END;
GO
CREATE PROCEDURE Test_FakeFunction.Test_ScalarFunctionWithP1
AS
BEGIN
EXEC tSQLt.FakeFunction 'dbo.TestFunctionScalar_P1', 'dbo.FakeFunctionScalar_P1';
DECLARE @Actual INT = dbo.TestFunctionScalar_P1(1);
EXEC tSQLt.AssertEquals 43, @Actual;
END;
GO
CREATE PROCEDURE Test_FakeFunction.Test_ScalarFunction_FakeFunctionIsNull
AS
BEGIN
EXEC tSQLt.ExpectException 'Either @FakeFunctionName or @FakeDataSource must be provided.';
EXEC tSQLt.FakeFunction 'dbo.TestFunctionScalar', NULL;
END;
GO
CREATE PROCEDURE Test_FakeFunction.Test_ScalarFunction_FunctionIsNull
AS
BEGIN
EXEC tSQLt.ExpectException 'tSQLt.AssertObjectExists failed. Object:<(null)> does not exist.';
EXEC tSQLt.FakeFunction NULL, 'dbo.FakeFunctionScalar';
END;
GO
CREATE PROCEDURE Test_FakeFunction.Test_InlineTableValuedFunction_DataSourceIsNotNull
AS
BEGIN
EXEC tSQLt.ExpectException 'Both @FakeFunctionName and @FakeDataSource are valued. Please use only one.';
EXEC tSQLt.FakeFunction 'dbo.TestFunctionIF', 'dbo.FakeFunctionIF', 'dbo.FakeDataSource';
END;
GO
CREATE PROCEDURE Test_FakeFunction.Test_InlineTableValuedFunction_DataSourceIsSelect
AS
BEGIN
EXEC tSQLt.FakeFunction 'dbo.TestFunctionIF', @FakeDataSource = 'SELECT 5 AS Column1';
DECLARE @Actual INT = (SELECT Column1 FROM dbo.TestFunctionIF());
EXEC tSQLt.AssertEquals 5, @Actual;
END;
GO
CREATE PROCEDURE Test_FakeFunction.Test_InlineTableValuedFunction_DataSourceIsTable
AS
BEGIN
INSERT INTO dbo.FakeDataSource VALUES (6);
EXEC tSQLt.FakeFunction 'dbo.TestFunctionIF', @FakeDataSource = 'dbo.FakeDataSource';
DECLARE @Actual INT = (SELECT Column1 FROM dbo.TestFunctionIF());
EXEC tSQLt.AssertEquals 6, @Actual;
END;
GO
CREATE PROCEDURE Test_FakeFunction.Test_InlineTableValuedFunctionWithP1_TT
AS
BEGIN
EXEC tSQLt.FakeFunction 'dbo.TestFunctionIF_P1_TT', 'dbo.FakeFunctionIF_P1_TT';
DECLARE @P1 int = 1;
DECLARE @P2 dbo.TestType;
INSERT INTO @P2(Column1) VALUES (2);
DECLARE @Actual INT = (SELECT Column1 FROM dbo.TestFunctionIF_P1_TT(@P1, @P2));
EXEC tSQLt.AssertEquals 45, @Actual;
END;
GO
CREATE PROCEDURE Test_FakeFunction.Test_MultiStatementTableValuedFunctionWithP1_TT
AS
BEGIN
EXEC tSQLt.FakeFunction 'dbo.TestFunctionTF_P1_TT', 'dbo.FakeFunctionTF_P1_TT';
DECLARE @P1 int = 1;
DECLARE @P2 dbo.TestType;
INSERT INTO @P2(Column1) VALUES (2);
DECLARE @Actual INT = (SELECT Column1 FROM dbo.TestFunctionTF_P1_TT(@P1, @P2));
EXEC tSQLt.AssertEquals 45, @Actual;
END;
GO
CREATE PROCEDURE Test_FakeFunction.Test_ScalarFunctionWithP1_TT
AS
BEGIN
EXEC tSQLt.FakeFunction 'dbo.TestFunctionScalar_P1_TT', 'dbo.FakeFunctionScalar_P1_TT';
DECLARE @P1 int = 1;
DECLARE @P2 dbo.TestType;
INSERT INTO @P2(Column1) VALUES (2);
DECLARE @Actual INT = dbo.TestFunctionScalar_P1_TT(@P1, @P2);
EXEC tSQLt.AssertEquals 45, @Actual;
END;
GO
CREATE PROCEDURE Test_FakeFunction.Test_InlineTableValuedFunction_Mismatch
AS
BEGIN
EXEC tSQLt.ExpectException 'Parameters of both functions must match! (This includes the return type for scalar functions.)';
EXEC tSQLt.FakeFunction 'dbo.TestFunctionIF', 'dbo.FakeFunctionIF_P1';
END;
GO
CREATE PROCEDURE Test_FakeFunction.Test_InlineTableValuedFunctionWithP1_Mismatch
AS
BEGIN
EXEC tSQLt.ExpectException 'Parameters of both functions must match! (This includes the return type for scalar functions.)';
EXEC tSQLt.FakeFunction 'dbo.TestFunctionIF_P1', 'dbo.FakeFunctionIF_P1_TT';
END;
GO
CREATE PROCEDURE Test_FakeFunction.Test_InlineTableValuedFunctionWithP1_TT_Mismatch
AS
BEGIN
EXEC tSQLt.ExpectException 'Parameters of both functions must match! (This includes the return type for scalar functions.)';
EXEC tSQLt.FakeFunction 'dbo.TestFunctionIF_P1_TT', 'dbo.FakeFunctionIF';
END;
GO
CREATE PROCEDURE Test_FakeFunction.Test_MultiStatementTableValuedFunction_Mismatch
AS
BEGIN
EXEC tSQLt.ExpectException 'Parameters of both functions must match! (This includes the return type for scalar functions.)';
EXEC tSQLt.FakeFunction 'dbo.TestFunctionTF', 'dbo.FakeFunctionTF_P1';
END;
GO
CREATE PROCEDURE Test_FakeFunction.Test_MultiStatementTableValuedFunctionWithP1_Mismatch
AS
BEGIN
EXEC tSQLt.ExpectException 'Parameters of both functions must match! (This includes the return type for scalar functions.)';
EXEC tSQLt.FakeFunction 'dbo.TestFunctionTF_P1', 'dbo.FakeFunctionTF_P1_TT';
END;
GO
CREATE PROCEDURE Test_FakeFunction.Test_MultiStatementTableValuedFunctionWithP1_TT_Mismatch
AS
BEGIN
EXEC tSQLt.ExpectException 'Parameters of both functions must match! (This includes the return type for scalar functions.)';
EXEC tSQLt.FakeFunction 'dbo.TestFunctionTF_P1_TT', 'dbo.FakeFunctionTF';
END;
GO
CREATE PROCEDURE Test_FakeFunction.Test_ScalarFunction_Mismatch
AS
BEGIN
EXEC tSQLt.ExpectException 'Parameters of both functions must match! (This includes the return type for scalar functions.)';
EXEC tSQLt.FakeFunction 'dbo.TestFunctionScalar', 'dbo.FakeFunctionScalar_P1';
END;
GO
CREATE PROCEDURE Test_FakeFunction.Test_ScalarFunctionWithP1_Mismatch
AS
BEGIN
EXEC tSQLt.ExpectException 'Parameters of both functions must match! (This includes the return type for scalar functions.)';
EXEC tSQLt.FakeFunction 'dbo.TestFunctionScalar_P1', 'dbo.FakeFunctionScalar_P1_TT';
END;
GO
CREATE PROCEDURE Test_FakeFunction.Test_ScalarFunctionWithP1_TT_Mismatch
AS
BEGIN
EXEC tSQLt.ExpectException 'Parameters of both functions must match! (This includes the return type for scalar functions.)';
EXEC tSQLt.FakeFunction 'dbo.TestFunctionScalar_P1_TT', 'dbo.FakeFunctionScalar';
END;
GO
CREATE PROCEDURE Test_FakeFunction.Test_Failed_When_Procedure
AS
BEGIN
EXEC tSQLt.ExpectException 'Both parameters must contain the name of either scalar or table valued functions';
EXEC tSQLt.FakeFunction 'dbo.TestProcedure', 'dbo.FakeFunctionIF';
END;
GO |
<reponame>MadhavJ/Sitecore.Demo.Edge<filename>docker/build/mssql-init/sql/CreateSitecoreAuthorUser.sql<gh_stars>0
USE [Sitecore.Core]
declare @UserName_ nvarchar(256) = $(UserName)
declare @RoleName_ nvarchar(256) = $(RoleName)
declare @EMail_ nvarchar(256) = $(EMail)
declare @EncodedPassword_ nvarchar(128) = $(EncodedPassword)
declare @EncodedSalt_ nvarchar(128) = $(EncodedSalt)
declare @ProfilePropertyNames_ nvarchar(256) = $(ProfilePropertyNames)
declare @ProfilePropertyValueString_ nvarchar(256) = $(ProfilePropertyValueString)
DECLARE @now datetime = GETDATE()
exec aspnet_Membership_CreateUser 'sitecore', @UserName_, @EncodedPassword_, @EncodedSalt_, @EMail_,'','', 1, @now, @now, 0, 0,null
DECLARE @UserId nvarchar(256)
SELECT TOP 1
@UserId = [UserId]
FROM [aspnet_Users]
WHERE [UserName] = @UserName_
INSERT [dbo].[aspnet_Profile]
([UserId], [PropertyNames], [PropertyValuesString], [PropertyValuesBinary], [LastUpdatedDate])
VALUES
(@UserId,
@ProfilePropertyNames_,
@ProfilePropertyValueString_,
0x46616C7365,
CAST(0x0000A2F500D2B376 AS DateTime))
UPDATE [dbo].[aspnet_Membership]
SET [PasswordFormat] = 1
WHERE [UserId] = @UserID
EXEC aspnet_Roles_CreateRole 'sitecore', @RoleName_
EXEC aspnet_UsersInRoles_AddUsersToRoles 'sitecore', @UserName_, @RoleName_, 8 |
<filename>init.sql
ALTER PROFILE DEFAULT limit password_life_time UNLIMITED;
ALTER USER SYSTEM IDENTIFIED BY admin;
|
use lightning;
-- INSERT INTO `location` VALUES (NULL,'442 Glenwood Avenue','Culver City','CA', '87547');
-- INSERT INTO `location` VALUES (NULL,'1 Yellow Brook Road','Emerald City','OZ', '12345');
INSERT INTO `employee` VALUES (NULL,12, 8754,'Curious','George' ,'<NAME>',1);
INSERT INTO `employee` VALUES (NULL,123, 8733,'Allen','Rench' ,'Torque Master',2);
-- INSERT INTO `Product` VALUES (NULL,'black', 'New', "The brand new Apple MacBook Pro", 700.00, 10, "Apple MacBook Pro")
-- INSERT INTO `Product` VALUES (NULL,'white', 'Refurbished', "The brand new Surface Pro", 750.00, 10, "Surface Pro")
-- INSERT INTO `Product` VALUES (NULL,'black', 'Used', "The brand new Iphone 6", 750.00, 10, "Iphone 6")
-- INSERT INTO `Product` VALUES (NULL,'red', 'New', "The brand new Samsumg Galaxy s8", 750.00, 10, "Samsumg Galaxy s8")
-- INSERT INTO `Product` VALUES (NULL,'green', 'Refurbished', "The brand new Dell Lattitude, 750.00, 10, "Dell Lattitude")
-- INSERT INTO `Product` VALUES (NULL,'silver', 'Used', "The brand new HP Probook", 750.00, 10, "HP Probook")
-- INSERT INTO `Product` VALUES (NULL,'rose', 'New', "The brand new Acer Aspire", 750.00, 10, "Acer Aspire")
-- INSERT INTO `Product` VALUES (NULL,'rose gold', 'Refurbished', "The brand new Lenovo", 750.00, 10, "Lenovo")
-- INSERT INTO `Product` VALUES (NULL,'red', 'Used', "The brand new Hp Envy", 750.00, 10, "Hp Envy")
INSERT INTO `Product` VALUES (NULL,'black', 'New', "The brand new Apple MacBook Pro", 700.00, 10, 1, "Apple MacBook Pro")
INSERT INTO `Product` VALUES (NULL,'white', 'Refurbished', "The brand new Surface Pro", 750.00, 10, 1, "Surface Pro")
INSERT INTO `Product` VALUES (NULL,'black', 'Used', "The brand new Iphone 6", 750.00, 10, 1, "Iphone 6")
INSERT INTO `Product` VALUES (NULL,'red', 'New', "The brand new Samsumg Galaxy s8", 750.00, 10, 1, "Samsumg Galaxy s8")
INSERT INTO `Product` VALUES (NULL,'green', 'Refurbished', "The brand new Dell Lattitude", 750.00, 10, 1, "Dell Lattitude")
INSERT INTO `Product` VALUES (NULL,'silver', 'Used', "The brand new HP Probook", 750.00, 10, 1, "HP Probook")
INSERT INTO `Product` VALUES (NULL,'rose', 'New', "The brand new Acer Aspire", 750.00, 10, 1, "Acer Aspire")
INSERT INTO `Product` VALUES (NULL,'rose gold', 'Refurbished', "The brand new Lenovo", 750.00, 10, 1, "Lenovo")
INSERT INTO `Product` VALUES (NULL,'red', 'Used', "The brand new Hp Envy", 750.00, 10, 1, "Hp Envy")
INSERT INTO `Telephone` values ('1', '110', '217', '8774');
INSERT INTO `Telephone` values ('2', '110', '217', '8774');
INSERT INTO `Telephone` values ('3', '110', '217', '8774');
INSERT INTO `Telephone` values ('4', '110', '217', '8774');
INSERT INTO `location` VALUES ('1','442 Glenwood Avenue','Culver City','CA', '87547');
INSERT INTO `location` VALUES ('2','442 Glenwood Avenue','Culver City','CA', '87547');
INSERT INTO `location` VALUES ('3','442 Glenwood Avenue','Culver City','CA', '87547');
INSERT INTO `location` VALUES ('4','442 Glenwood Avenue','Culver City','CA', '87547');
INSERT INTO `User` VALUES ('1', '2018-07-17 20:14:46', 'Wenqiang', 'Li', 'password','1','1');
INSERT INTO `User` VALUES ('2','2018-07-17 20:14:46','GG', 'Liu','password', '2','2');
INSERT INTO `User` VALUES ('3','2018-07-17 20:14:46','user3', 'Liang', 'user3', '3','3');
INSERT INTO `User` VALUES ('4','2018-07-17 20:14:46','user4', 'Liao', 'user4', '4','4');
|
<reponame>jb150524/Employee-Tracker<gh_stars>0
USE employee_db;
-- department seeds --
INSERT INTO |
-- trigger that changes amount account balance when income changes
CREATE OR REPLACE TRIGGER aiud_change_inc_change_account_state
AFTER INSERT OR UPDATE OR DELETE ON incomes
FOR EACH ROW
BEGIN
IF inserting THEN
UPDATE accounts
SET current_state = current_state + :new.amount
WHERE acc_id = :new.account;
ELSIF updating THEN
IF :new.account != :old.account AND :new.amount != :old.amount THEN
UPDATE accounts
SET current_state = current_state - :old.amount
WHERE acc_id = :old.account;
UPDATE accounts
SET current_state = current_state + :new.amount
WHERE acc_id = :new.account;
ELSIF :new.amount != :old.amount THEN
UPDATE accounts
SET current_state = current_state - :old.amount + :new.amount
WHERE acc_id = :new.account;
ELSIF :new.account != :old.account THEN
UPDATE accounts
SET current_state = current_state - :old.amount
WHERE acc_id = :old.account;
UPDATE accounts
SET current_state = current_state + :old.amount
WHERE acc_id = :new.account;
END IF;
ELSE
UPDATE accounts
SET current_state = current_state - :old.amount
WHERE acc_id = :old.account;
END IF;
END;
/
-- trigger that changes budget when expense changes
create or replace trigger aiud_change_exp_change_budget
after insert or update or delete on expenses
for each row
begin
if inserting then
merge into budgets
using (
select
ec.budget ec_b -- need to use alias here...
from
expense_categories ec
where
ec.exp_cat_id = :new.expense_category
)
on (budgets.b_id = ec_b) -- ...which will be used here
when matched then
update set budgets.amount = budgets.amount - :new.amount;
elsif updating then
merge into budgets
using (
select
ec.budget ec_b -- need to use alias here...
from
expense_categories ec
where
ec.exp_cat_id = :new.expense_category
)
on (budgets.b_id = ec_b) -- ...which will be used here
when matched then
update set budgets.amount = budgets.amount + (:old.amount - :new.amount);
end if;
end;
/
create or replace trigger biu_exp_date
before insert or update on expenses
for each row
begin
if (:new.exp_date > SYSDATE) THEN
RAISE_APPLICATION_ERROR (-20001,
'Invalid date. Expense date must be <= ' || SYSDATE );
END IF;
end;
/
CREATE OR REPLACE TRIGGER biu_incomes_date
BEFORE INSERT OR UPDATE ON incomes
FOR EACH ROW
BEGIN
IF (:NEW.inc_date > SYSDATE) THEN
RAISE_APPLICATION_ERROR (-20003,
'Invalid date. Income date must be <= ' || SYSDATE );
END IF;
END;
/
CREATE OR REPLACE TRIGGER biu_accounts_opened
BEFORE INSERT OR UPDATE ON accounts
FOR EACH ROW
BEGIN
IF (:NEW.opened > SYSDATE) THEN
RAISE_APPLICATION_ERROR (-20004,
'Invalid date. Opened date must be <= ' || SYSDATE );
END IF;
END;
/
CREATE OR REPLACE TRIGGER biu_accounts_closed
BEFORE INSERT OR UPDATE ON accounts
FOR EACH ROW
BEGIN
IF (:NEW.closed > SYSDATE) THEN
RAISE_APPLICATION_ERROR (-20005,
'Invalid date. Closed date must be <= ' || SYSDATE );
END IF;
END;
/
CREATE OR REPLACE TRIGGER aiu_set_last_change
BEFORE INSERT OR UPDATE ON accounts
FOR EACH ROW
BEGIN
:NEW.last_change := SYSDATE;
END;
/
|
-- phpMyAdmin SQL Dump
-- version 3.4.5
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Mar 22, 2012 at 12:34 AM
-- Server version: 5.5.16
-- PHP Version: 5.3.8
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Database: `750`
--
-- --------------------------------------------------------
--
-- Table structure for table `reg`
--
CREATE TABLE IF NOT EXISTS `reg` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`data` longtext NOT NULL,
`work_name` mediumtext NOT NULL,
`date` varchar(255) NOT NULL,
`activo` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;
--
-- Dumping data for table `reg`
--
INSERT INTO `reg` (`id`, `data`, `work_name`, `date`, `activo`) VALUES
(1, '1', '', 'Wed Mar 21 2012', 0);
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
<reponame>lgcarrier/AFW
set define off
set serveroutput on
set feedback off
prompt ========================================
prompt Installation de l'application: SAF - Accueil
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
afw_03_journ_pkg.ecrir_journ('Debut - Initialisation - Application - SAF');
afw$migrt$pkg.var_aplic(2) := afw_11_aplic_pkg.maj_aplic ('SAF','Accueil',1000001, afw$migrt$pkg.vnu_seqnc_prodt);
afw_13_page_pkg.maj_table_a_partr_refrt_apex(afw$migrt$pkg.var_aplic(2),'O');
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Fin - Initialisation - Application - SAF');
end;
/
prompt ...Metadonnees des entites
prompt ......versn
--Debut - afw_11_versn
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
afw_03_journ_pkg.ecrir_journ('Debut - afw_11_versn');
delete from tc$11$versn;
insert into tc$11$versn (code, dnr_ref_aplic, dnr_ref_prodt, indic_docmn_verl, nom, numr_versn_1, numr_versn_2, numr_versn_3, numr_versn_4, ref_aplic, ref_plugn, ref_prodt, seqnc) values ('4000', afw$migrt$pkg.obten_var_aplic(2, 'Insert'), null, 'O', null, 4, 4, 0, 0, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), null, null, 85);
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Fin partie - afw_11_versn');
end;
/
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
afw_03_journ_pkg.ecrir_journ('Debut partie - afw_11_versn');
merge into afw_11_versn t
using tc$11$versn tf
on ((t.code = tf.code) and (t.ref_aplic = tf.ref_aplic or (t.ref_aplic is null and tf.ref_aplic is null) or tf.ref_aplic is null ) and (t.ref_plugn = tf.ref_plugn or (t.ref_plugn is null and tf.ref_plugn is null) or tf.ref_plugn is null ) and (t.ref_prodt = tf.ref_prodt or (t.ref_prodt is null and tf.ref_prodt is null) or tf.ref_prodt is null ))
when not matched then
insert (t.code, t.dnr_ref_aplic, t.dnr_ref_prodt, t.indic_docmn_verl, t.nom, t.numr_versn_1, t.numr_versn_2, t.numr_versn_3, t.numr_versn_4, t.ref_aplic, t.ref_plugn, t.ref_prodt)
values (tf.code, tf.dnr_ref_aplic, tf.dnr_ref_prodt, tf.indic_docmn_verl, tf.nom, tf.numr_versn_1, tf.numr_versn_2, tf.numr_versn_3, tf.numr_versn_4, tf.ref_aplic, tf.ref_plugn, tf.ref_prodt)
when matched then
update set t.dnr_ref_aplic = tf.dnr_ref_aplic, t.dnr_ref_prodt = tf.dnr_ref_prodt, t.indic_docmn_verl = tf.indic_docmn_verl, t.nom = tf.nom, t.numr_versn_1 = tf.numr_versn_1, t.numr_versn_2 = tf.numr_versn_2, t.numr_versn_3 = tf.numr_versn_3, t.numr_versn_4 = tf.numr_versn_4
log errors into em$11_versn
reject limit unlimited
;
declare
vnu_count pls_integer;
begin
select count(1) into vnu_count from em$11_versn;
if vnu_count > 0 then
afw$migrt$pkg.defnr_ereur ('Merge sur afw_11_versn');
end if;
end;
delete afw_11_versn t
where t.dnr_ref_aplic = afw$migrt$pkg.var_aplic(2)
and not exists (select null
from tc$11$versn tf
where (t.code = tf.code) and (t.ref_aplic = tf.ref_aplic or (t.ref_aplic is null and tf.ref_aplic is null) or tf.ref_aplic is null ) and (t.ref_plugn = tf.ref_plugn or (t.ref_plugn is null and tf.ref_plugn is null) or tf.ref_plugn is null ) and (t.ref_prodt = tf.ref_prodt or (t.ref_prodt is null and tf.ref_prodt is null) or tf.ref_prodt is null ));
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Fin partie - afw_11_versn');
end;
/
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
afw_03_journ_pkg.ecrir_journ('Debut partie - afw_11_versn');
select seqnc into afw$migrt$pkg.var_versn(85) from afw_11_versn where code = '4000' and ref_aplic = afw$migrt$pkg.obten_var_aplic(2, 'Select') and ref_plugn is null and ref_prodt is null;
--Fin - afw_11_versn
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Fin - afw_11_versn');
end;
/
prompt ......page
--Debut - afw_13_page
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
afw_03_journ_pkg.ecrir_journ('Debut - afw_13_page');
delete from tc$13$page;
insert into tc$13$page (date_dernr_maj_refrn_apex, descr, dnr_ref_aplic, indic_prise_charg_afw01, indic_prise_charg_afw04, indic_prise_charg_afw13_confr, indic_prise_charg_afw13_navgt, indic_prise_charg_afw14_popup, indic_prise_charg_afw18, indic_prise_charg_afw19, nom, numr_apex, prefx_mesg, ref_aplic, seqnc) values (to_date('2015-09-13 16:32:49', 'YYYY-MM-DD HH24:MI:SS'), null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), 'O', 'O', 'N', 'O', 'N', 'N', 'O', 'Page commune', 0, null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), 6);
insert into tc$13$page (date_dernr_maj_refrn_apex, descr, dnr_ref_aplic, indic_prise_charg_afw01, indic_prise_charg_afw04, indic_prise_charg_afw13_confr, indic_prise_charg_afw13_navgt, indic_prise_charg_afw14_popup, indic_prise_charg_afw18, indic_prise_charg_afw19, nom, numr_apex, prefx_mesg, ref_aplic, seqnc) values (to_date('2015-09-13 16:32:49', 'YYYY-MM-DD HH24:MI:SS'), null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), 'O', 'O', 'N', 'O', 'N', 'N', 'O', 'Accueil', 1, null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), 7);
insert into tc$13$page (date_dernr_maj_refrn_apex, descr, dnr_ref_aplic, indic_prise_charg_afw01, indic_prise_charg_afw04, indic_prise_charg_afw13_confr, indic_prise_charg_afw13_navgt, indic_prise_charg_afw14_popup, indic_prise_charg_afw18, indic_prise_charg_afw19, nom, numr_apex, prefx_mesg, ref_aplic, seqnc) values (to_date('2015-09-13 16:32:49', 'YYYY-MM-DD HH24:MI:SS'), null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), 'O', 'O', 'N', 'O', 'N', 'N', 'O', 'Page de connexion', 101, null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), 8);
insert into tc$13$page (date_dernr_maj_refrn_apex, descr, dnr_ref_aplic, indic_prise_charg_afw01, indic_prise_charg_afw04, indic_prise_charg_afw13_confr, indic_prise_charg_afw13_navgt, indic_prise_charg_afw14_popup, indic_prise_charg_afw18, indic_prise_charg_afw19, nom, numr_apex, prefx_mesg, ref_aplic, seqnc) values (to_date('2015-09-13 16:32:49', 'YYYY-MM-DD HH24:MI:SS'), null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), 'O', 'O', 'N', 'O', 'N', 'N', 'O', 'Commentaire', 102, null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), 9);
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Fin partie - afw_13_page');
end;
/
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
afw_03_journ_pkg.ecrir_journ('Debut partie - afw_13_page');
merge into afw_13_page t
using tc$13$page tf
on ((t.numr_apex = tf.numr_apex) and (t.ref_aplic = tf.ref_aplic or (t.ref_aplic is null and tf.ref_aplic is null) or tf.ref_aplic is null ))
when not matched then
insert (t.date_dernr_maj_refrn_apex, t.descr, t.dnr_ref_aplic, t.indic_prise_charg_afw01, t.indic_prise_charg_afw04, t.indic_prise_charg_afw13_confr, t.indic_prise_charg_afw13_navgt, t.indic_prise_charg_afw14_popup, t.indic_prise_charg_afw18, t.indic_prise_charg_afw19, t.nom, t.numr_apex, t.prefx_mesg, t.ref_aplic)
values (tf.date_dernr_maj_refrn_apex, tf.descr, tf.dnr_ref_aplic, tf.indic_prise_charg_afw01, tf.indic_prise_charg_afw04, tf.indic_prise_charg_afw13_confr, tf.indic_prise_charg_afw13_navgt, tf.indic_prise_charg_afw14_popup, tf.indic_prise_charg_afw18, tf.indic_prise_charg_afw19, tf.nom, tf.numr_apex, tf.prefx_mesg, tf.ref_aplic)
when matched then
update set t.date_dernr_maj_refrn_apex = tf.date_dernr_maj_refrn_apex, t.descr = tf.descr, t.dnr_ref_aplic = tf.dnr_ref_aplic, t.indic_prise_charg_afw01 = tf.indic_prise_charg_afw01, t.indic_prise_charg_afw04 = tf.indic_prise_charg_afw04, t.indic_prise_charg_afw13_confr = tf.indic_prise_charg_afw13_confr, t.indic_prise_charg_afw13_navgt = tf.indic_prise_charg_afw13_navgt, t.indic_prise_charg_afw14_popup = tf.indic_prise_charg_afw14_popup, t.indic_prise_charg_afw18 = tf.indic_prise_charg_afw18, t.indic_prise_charg_afw19 = tf.indic_prise_charg_afw19, t.nom = tf.nom, t.prefx_mesg = tf.prefx_mesg
log errors into em$13_page
reject limit unlimited
;
declare
vnu_count pls_integer;
begin
select count(1) into vnu_count from em$13_page;
if vnu_count > 0 then
afw$migrt$pkg.defnr_ereur ('Merge sur afw_13_page');
end if;
end;
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Fin partie - afw_13_page');
end;
/
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
afw_03_journ_pkg.ecrir_journ('Debut partie - afw_13_page');
select seqnc into afw$migrt$pkg.var_page(6) from afw_13_page where numr_apex = 0 and ref_aplic = afw$migrt$pkg.obten_var_aplic(2, 'Select');
select seqnc into afw$migrt$pkg.var_page(7) from afw_13_page where numr_apex = 1 and ref_aplic = afw$migrt$pkg.obten_var_aplic(2, 'Select');
select seqnc into afw$migrt$pkg.var_page(8) from afw_13_page where numr_apex = 101 and ref_aplic = afw$migrt$pkg.obten_var_aplic(2, 'Select');
select seqnc into afw$migrt$pkg.var_page(9) from afw_13_page where numr_apex = 102 and ref_aplic = afw$migrt$pkg.obten_var_aplic(2, 'Select');
--Fin - afw_13_page
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Fin - afw_13_page');
end;
/
prompt ......page_lang
--Debut - afw_13_page_lang
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
afw_03_journ_pkg.ecrir_journ('Debut - afw_13_page_lang');
delete from tc$13$page$lang;
insert into tc$13$page$lang (dnr_ref_aplic, nom, ref_lang, ref_page, seqnc) values (afw$migrt$pkg.obten_var_aplic(2, 'Insert'), 'Page de connexion', afw$migrt$pkg.obten_var_lang(1, 'Insert'), afw$migrt$pkg.obten_var_page(8, 'Insert'), 7);
insert into tc$13$page$lang (dnr_ref_aplic, nom, ref_lang, ref_page, seqnc) values (afw$migrt$pkg.obten_var_aplic(2, 'Insert'), 'Page commune', afw$migrt$pkg.obten_var_lang(1, 'Insert'), afw$migrt$pkg.obten_var_page(6, 'Insert'), 8);
insert into tc$13$page$lang (dnr_ref_aplic, nom, ref_lang, ref_page, seqnc) values (afw$migrt$pkg.obten_var_aplic(2, 'Insert'), 'Accueil', afw$migrt$pkg.obten_var_lang(1, 'Insert'), afw$migrt$pkg.obten_var_page(7, 'Insert'), 9);
insert into tc$13$page$lang (dnr_ref_aplic, nom, ref_lang, ref_page, seqnc) values (afw$migrt$pkg.obten_var_aplic(2, 'Insert'), 'Commentaire', afw$migrt$pkg.obten_var_lang(1, 'Insert'), afw$migrt$pkg.obten_var_page(9, 'Insert'), 10);
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Fin partie - afw_13_page_lang');
end;
/
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
afw_03_journ_pkg.ecrir_journ('Debut partie - afw_13_page_lang');
merge into afw_13_page_lang t
using tc$13$page$lang tf
on ((t.ref_lang = tf.ref_lang or (t.ref_lang is null and tf.ref_lang is null) or tf.ref_lang is null ) and (t.ref_page = tf.ref_page or (t.ref_page is null and tf.ref_page is null) or tf.ref_page is null ))
when not matched then
insert (t.dnr_ref_aplic, t.nom, t.ref_lang, t.ref_page)
values (tf.dnr_ref_aplic, tf.nom, tf.ref_lang, tf.ref_page)
when matched then
update set t.dnr_ref_aplic = tf.dnr_ref_aplic, t.nom = tf.nom
log errors into em$13_page_lang
reject limit unlimited
;
declare
vnu_count pls_integer;
begin
select count(1) into vnu_count from em$13_page_lang;
if vnu_count > 0 then
afw$migrt$pkg.defnr_ereur ('Merge sur afw_13_page_lang');
end if;
end;
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Fin partie - afw_13_page_lang');
end;
/
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
afw_03_journ_pkg.ecrir_journ('Debut partie - afw_13_page_lang');
select seqnc into afw$migrt$pkg.var_page_lang(7) from afw_13_page_lang where ref_lang = afw$migrt$pkg.obten_var_lang(1, 'Select') and ref_page = afw$migrt$pkg.obten_var_page(8, 'Select');
select seqnc into afw$migrt$pkg.var_page_lang(8) from afw_13_page_lang where ref_lang = afw$migrt$pkg.obten_var_lang(1, 'Select') and ref_page = afw$migrt$pkg.obten_var_page(6, 'Select');
select seqnc into afw$migrt$pkg.var_page_lang(9) from afw_13_page_lang where ref_lang = afw$migrt$pkg.obten_var_lang(1, 'Select') and ref_page = afw$migrt$pkg.obten_var_page(7, 'Select');
select seqnc into afw$migrt$pkg.var_page_lang(10) from afw_13_page_lang where ref_lang = afw$migrt$pkg.obten_var_lang(1, 'Select') and ref_page = afw$migrt$pkg.obten_var_page(9, 'Select');
--Fin - afw_13_page_lang
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Fin - afw_13_page_lang');
end;
/
prompt ......page_ir
--Debut - afw_13_page_ir
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
afw_03_journ_pkg.ecrir_journ('Debut - afw_13_page_ir');
delete from tc$13$page$ir;
--Fin - afw_13_page_ir
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Fin - afw_13_page_ir');
end;
/
prompt ......page_ir_coln
--Debut - afw_13_page_ir_coln
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
afw_03_journ_pkg.ecrir_journ('Debut - afw_13_page_ir_coln');
delete from tc$13$page$ir$coln;
--Fin - afw_13_page_ir_coln
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Fin - afw_13_page_ir_coln');
end;
/
prompt ......page_prefr_navgt
--Debut - afw_13_page_prefr_navgt
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
afw_03_journ_pkg.ecrir_journ('Debut - afw_13_page_prefr_navgt');
delete from tc$13$page$prefr$navgt;
--Fin - afw_13_page_prefr_navgt
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Fin - afw_13_page_prefr_navgt');
end;
/
prompt ......liste_navgt
--Debut - afw_13_liste_navgt
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
afw_03_journ_pkg.ecrir_journ('Debut - afw_13_liste_navgt');
delete from tc$13$liste$navgt;
--Fin - afw_13_liste_navgt
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Fin - afw_13_liste_navgt');
end;
/
prompt ......page_item
--Debut - afw_13_page_item
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
afw_03_journ_pkg.ecrir_journ('Debut - afw_13_page_item');
delete from tc$13$page$item;
insert into tc$13$page$item (depsm_alias_coln, dnr_ref_aplic, icone_bulle_aide, id_apex, indic_confr_sauvg, indic_creat, indic_en_creat, indic_en_modfc, indic_modfc, indic_rechr, indic_suprs, libl, nom_apex, ref_page, seqnc, type_item) values (null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), null, 449836574543532678, 'O', null, null, null, null, 'N', null, '[SADA]', 'SADA', afw$migrt$pkg.obten_var_page(6, 'Insert'), 33, 'ITEM');
insert into tc$13$page$item (depsm_alias_coln, dnr_ref_aplic, icone_bulle_aide, id_apex, indic_confr_sauvg, indic_creat, indic_en_creat, indic_en_modfc, indic_modfc, indic_rechr, indic_suprs, libl, nom_apex, ref_page, seqnc, type_item) values (null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), null, 479381573826613586, 'O', null, null, null, null, 'N', null, 'Test', 'SIDF', afw$migrt$pkg.obten_var_page(6, 'Insert'), 34, 'ITEM');
insert into tc$13$page$item (depsm_alias_coln, dnr_ref_aplic, icone_bulle_aide, id_apex, indic_confr_sauvg, indic_creat, indic_en_creat, indic_en_modfc, indic_modfc, indic_rechr, indic_suprs, libl, nom_apex, ref_page, seqnc, type_item) values (null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), null, 479381801300613588, 'O', null, null, null, null, 'N', null, '[SSPC]', 'SSPC', afw$migrt$pkg.obten_var_page(6, 'Insert'), 35, 'ITEM');
insert into tc$13$page$item (depsm_alias_coln, dnr_ref_aplic, icone_bulle_aide, id_apex, indic_confr_sauvg, indic_creat, indic_en_creat, indic_en_modfc, indic_modfc, indic_rechr, indic_suprs, libl, nom_apex, ref_page, seqnc, type_item) values (null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), null, 479381976290613588, 'O', null, null, null, null, 'N', null, '[SCPC]', 'SCPC', afw$migrt$pkg.obten_var_page(6, 'Insert'), 36, 'ITEM');
insert into tc$13$page$item (depsm_alias_coln, dnr_ref_aplic, icone_bulle_aide, id_apex, indic_confr_sauvg, indic_creat, indic_en_creat, indic_en_modfc, indic_modfc, indic_rechr, indic_suprs, libl, nom_apex, ref_page, seqnc, type_item) values (null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), null, 479720794712233069, 'O', null, null, null, null, 'N', null, '[SAPC]', 'SAPC', afw$migrt$pkg.obten_var_page(6, 'Insert'), 37, 'ITEM');
insert into tc$13$page$item (depsm_alias_coln, dnr_ref_aplic, icone_bulle_aide, id_apex, indic_confr_sauvg, indic_creat, indic_en_creat, indic_en_modfc, indic_modfc, indic_rechr, indic_suprs, libl, nom_apex, ref_page, seqnc, type_item) values (null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), null, 501205278703289733, 'O', null, null, null, null, 'N', null, 'SNPI', 'SNPI', afw$migrt$pkg.obten_var_page(6, 'Insert'), 38, 'ITEM');
insert into tc$13$page$item (depsm_alias_coln, dnr_ref_aplic, icone_bulle_aide, id_apex, indic_confr_sauvg, indic_creat, indic_en_creat, indic_en_modfc, indic_modfc, indic_rechr, indic_suprs, libl, nom_apex, ref_page, seqnc, type_item) values (null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), null, 523945595100457366, 'O', null, null, null, null, 'N', null, '[SCPI]', 'SCPI', afw$migrt$pkg.obten_var_page(6, 'Insert'), 39, 'ITEM');
insert into tc$13$page$item (depsm_alias_coln, dnr_ref_aplic, icone_bulle_aide, id_apex, indic_confr_sauvg, indic_creat, indic_en_creat, indic_en_modfc, indic_modfc, indic_rechr, indic_suprs, libl, nom_apex, ref_page, seqnc, type_item) values (null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), null, 523945800295458889, 'O', null, null, null, null, 'N', null, '[SSPI]', 'SSPI', afw$migrt$pkg.obten_var_page(6, 'Insert'), 40, 'ITEM');
insert into tc$13$page$item (depsm_alias_coln, dnr_ref_aplic, icone_bulle_aide, id_apex, indic_confr_sauvg, indic_creat, indic_en_creat, indic_en_modfc, indic_modfc, indic_rechr, indic_suprs, libl, nom_apex, ref_page, seqnc, type_item) values (null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), null, 523946005143460236, 'O', null, null, null, null, 'N', null, '[SAPI]', 'SAPI', afw$migrt$pkg.obten_var_page(6, 'Insert'), 41, 'ITEM');
insert into tc$13$page$item (depsm_alias_coln, dnr_ref_aplic, icone_bulle_aide, id_apex, indic_confr_sauvg, indic_creat, indic_en_creat, indic_en_modfc, indic_modfc, indic_rechr, indic_suprs, libl, nom_apex, ref_page, seqnc, type_item) values (null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), null, 595659338800521179, 'O', null, null, null, null, 'N', null, '[P0_RECHR_GLOBL]', 'P0_RECHR_GLOBL', afw$migrt$pkg.obten_var_page(6, 'Insert'), 42, 'ITEM');
insert into tc$13$page$item (depsm_alias_coln, dnr_ref_aplic, icone_bulle_aide, id_apex, indic_confr_sauvg, indic_creat, indic_en_creat, indic_en_modfc, indic_modfc, indic_rechr, indic_suprs, libl, nom_apex, ref_page, seqnc, type_item) values (null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), null, 439699136343966698, 'O', null, null, null, null, 'N', null, '[P1_NUMR_APLIC_SAFP]', 'P1_NUMR_APLIC_SAFP', afw$migrt$pkg.obten_var_page(7, 'Insert'), 46, 'ITEM');
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('afw_13_page_item');
end;
/
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
afw_03_journ_pkg.ecrir_journ('afw_13_page_item');
insert into tc$13$page$item (depsm_alias_coln, dnr_ref_aplic, icone_bulle_aide, id_apex, indic_confr_sauvg, indic_creat, indic_en_creat, indic_en_modfc, indic_modfc, indic_rechr, indic_suprs, libl, nom_apex, ref_page, seqnc, type_item) values (null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), null, 439701040331005616, 'O', null, null, null, null, 'N', null, '[P1_NUMR_APLIC_SAFD]', 'P1_NUMR_APLIC_SAFD', afw$migrt$pkg.obten_var_page(7, 'Insert'), 47, 'ITEM');
insert into tc$13$page$item (depsm_alias_coln, dnr_ref_aplic, icone_bulle_aide, id_apex, indic_confr_sauvg, indic_creat, indic_en_creat, indic_en_modfc, indic_modfc, indic_rechr, indic_suprs, libl, nom_apex, ref_page, seqnc, type_item) values (null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), null, 439701244141006714, 'O', null, null, null, null, 'N', null, '[P1_NUMR_APLIC_SAFM]', 'P1_NUMR_APLIC_SAFM', afw$migrt$pkg.obten_var_page(7, 'Insert'), 48, 'ITEM');
insert into tc$13$page$item (depsm_alias_coln, dnr_ref_aplic, icone_bulle_aide, id_apex, indic_confr_sauvg, indic_creat, indic_en_creat, indic_en_modfc, indic_modfc, indic_rechr, indic_suprs, libl, nom_apex, ref_page, seqnc, type_item) values (null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), null, 455868327709811890, 'O', null, null, null, null, 'N', null, '[P1_NUMR_APLIC_SAFC]', 'P1_NUMR_APLIC_SAFC', afw$migrt$pkg.obten_var_page(7, 'Insert'), 49, 'ITEM');
insert into tc$13$page$item (depsm_alias_coln, dnr_ref_aplic, icone_bulle_aide, id_apex, indic_confr_sauvg, indic_creat, indic_en_creat, indic_en_modfc, indic_modfc, indic_rechr, indic_suprs, libl, nom_apex, ref_page, seqnc, type_item) values (null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), null, 456925915493676717, 'O', null, null, null, null, 'N', null, '[P1_NUMR_APLIC_SAFA]', 'P1_NUMR_APLIC_SAFA', afw$migrt$pkg.obten_var_page(7, 'Insert'), 50, 'ITEM');
insert into tc$13$page$item (depsm_alias_coln, dnr_ref_aplic, icone_bulle_aide, id_apex, indic_confr_sauvg, indic_creat, indic_en_creat, indic_en_modfc, indic_modfc, indic_rechr, indic_suprs, libl, nom_apex, ref_page, seqnc, type_item) values (null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), null, 450135354543089830, 'O', null, null, null, null, 'N', null, 'Code d''utilisateur', 'P101_CODE_UTILS', afw$migrt$pkg.obten_var_page(8, 'Insert'), 52, 'ITEM');
insert into tc$13$page$item (depsm_alias_coln, dnr_ref_aplic, icone_bulle_aide, id_apex, indic_confr_sauvg, indic_creat, indic_en_creat, indic_en_modfc, indic_modfc, indic_rechr, indic_suprs, libl, nom_apex, ref_page, seqnc, type_item) values (null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), null, 450135562927089831, 'O', null, null, null, null, 'N', null, 'Mot de passe', 'P101_MOT_PASSE', afw$migrt$pkg.obten_var_page(8, 'Insert'), 53, 'ITEM');
insert into tc$13$page$item (depsm_alias_coln, dnr_ref_aplic, icone_bulle_aide, id_apex, indic_confr_sauvg, indic_creat, indic_en_creat, indic_en_modfc, indic_modfc, indic_rechr, indic_suprs, libl, nom_apex, ref_page, seqnc, type_item) values (null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), null, 450135752258089831, 'O', null, null, null, null, 'N', null, 'Connexion', 'P101_LOGIN', afw$migrt$pkg.obten_var_page(8, 'Insert'), 54, 'ITEM');
insert into tc$13$page$item (depsm_alias_coln, dnr_ref_aplic, icone_bulle_aide, id_apex, indic_confr_sauvg, indic_creat, indic_en_creat, indic_en_modfc, indic_modfc, indic_rechr, indic_suprs, libl, nom_apex, ref_page, seqnc, type_item) values (null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), null, 450135954811089831, 'O', null, null, null, null, 'N', null, 'Domaine', 'P101_DOMN', afw$migrt$pkg.obten_var_page(8, 'Insert'), 55, 'ITEM');
insert into tc$13$page$item (depsm_alias_coln, dnr_ref_aplic, icone_bulle_aide, id_apex, indic_confr_sauvg, indic_creat, indic_en_creat, indic_en_modfc, indic_modfc, indic_rechr, indic_suprs, libl, nom_apex, ref_page, seqnc, type_item) values (null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), null, 450136154775089832, 'O', null, null, null, null, 'N', null, '[P101_LANG]', 'P101_LANG', afw$migrt$pkg.obten_var_page(8, 'Insert'), 56, 'ITEM');
insert into tc$13$page$item (depsm_alias_coln, dnr_ref_aplic, icone_bulle_aide, id_apex, indic_confr_sauvg, indic_creat, indic_en_creat, indic_en_modfc, indic_modfc, indic_rechr, indic_suprs, libl, nom_apex, ref_page, seqnc, type_item) values (null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), null, 450136348256089832, 'O', null, null, null, null, 'N', null, '[P101_FORCE_DOMN]', 'P101_FORCE_DOMN', afw$migrt$pkg.obten_var_page(8, 'Insert'), 57, 'ITEM');
insert into tc$13$page$item (depsm_alias_coln, dnr_ref_aplic, icone_bulle_aide, id_apex, indic_confr_sauvg, indic_creat, indic_en_creat, indic_en_modfc, indic_modfc, indic_rechr, indic_suprs, libl, nom_apex, ref_page, seqnc, type_item) values (null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), null, 440443014436404595, 'O', null, null, null, null, 'N', null, 'Application:', 'P102_APPLICATION_ID', afw$migrt$pkg.obten_var_page(9, 'Insert'), 58, 'ITEM');
insert into tc$13$page$item (depsm_alias_coln, dnr_ref_aplic, icone_bulle_aide, id_apex, indic_confr_sauvg, indic_creat, indic_en_creat, indic_en_modfc, indic_modfc, indic_rechr, indic_suprs, libl, nom_apex, ref_page, seqnc, type_item) values (null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), null, 440443515825404604, 'O', null, null, null, null, 'N', null, 'Page:', 'P102_PAGE_ID', afw$migrt$pkg.obten_var_page(9, 'Insert'), 59, 'ITEM');
insert into tc$13$page$item (depsm_alias_coln, dnr_ref_aplic, icone_bulle_aide, id_apex, indic_confr_sauvg, indic_creat, indic_en_creat, indic_en_modfc, indic_modfc, indic_rechr, indic_suprs, libl, nom_apex, ref_page, seqnc, type_item) values (null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), null, 440444018623404605, 'O', null, null, null, null, 'N', null, '[P102_A]', 'P102_A', afw$migrt$pkg.obten_var_page(9, 'Insert'), 60, 'ITEM');
insert into tc$13$page$item (depsm_alias_coln, dnr_ref_aplic, icone_bulle_aide, id_apex, indic_confr_sauvg, indic_creat, indic_en_creat, indic_en_modfc, indic_modfc, indic_rechr, indic_suprs, libl, nom_apex, ref_page, seqnc, type_item) values (null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), null, 440444240443404605, 'O', null, null, null, null, 'N', null, 'Commentaire', 'P102_FEEDBACK', afw$migrt$pkg.obten_var_page(9, 'Insert'), 61, 'ITEM');
insert into tc$13$page$item (depsm_alias_coln, dnr_ref_aplic, icone_bulle_aide, id_apex, indic_confr_sauvg, indic_creat, indic_en_creat, indic_en_modfc, indic_modfc, indic_rechr, indic_suprs, libl, nom_apex, ref_page, seqnc, type_item) values (null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), null, 440444735755404606, 'O', null, null, null, null, 'N', null, '[P102_X]', 'P102_X', afw$migrt$pkg.obten_var_page(9, 'Insert'), 62, 'ITEM');
insert into tc$13$page$item (depsm_alias_coln, dnr_ref_aplic, icone_bulle_aide, id_apex, indic_confr_sauvg, indic_creat, indic_en_creat, indic_en_modfc, indic_modfc, indic_rechr, indic_suprs, libl, nom_apex, ref_page, seqnc, type_item) values (null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), null, 440444930966404607, 'O', null, null, null, null, 'N', null, 'Type de commentaire', 'P102_FEEDBACK_TYPE', afw$migrt$pkg.obten_var_page(9, 'Insert'), 63, 'ITEM');
insert into tc$13$page$item (depsm_alias_coln, dnr_ref_aplic, icone_bulle_aide, id_apex, indic_confr_sauvg, indic_creat, indic_en_creat, indic_en_modfc, indic_modfc, indic_rechr, indic_suprs, libl, nom_apex, ref_page, seqnc, type_item) values (null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), null, 440445426429404607, 'O', null, null, null, null, 'N', null, '[P102_Y]', 'P102_Y', afw$migrt$pkg.obten_var_page(9, 'Insert'), 64, 'ITEM');
insert into tc$13$page$item (depsm_alias_coln, dnr_ref_aplic, icone_bulle_aide, id_apex, indic_confr_sauvg, indic_creat, indic_en_creat, indic_en_modfc, indic_modfc, indic_rechr, indic_suprs, libl, nom_apex, ref_page, seqnc, type_item) values (null, afw$migrt$pkg.obten_var_aplic(2, 'Insert'), null, 436922719873123848, 'N', null, null, null, null, 'N', null, 'Appliquer', 'SUBMIT', afw$migrt$pkg.obten_var_page(9, 'Insert'), 65, 'BOUTN');
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Fin partie - afw_13_page_item');
end;
/
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
afw_03_journ_pkg.ecrir_journ('Debut partie - afw_13_page_item');
merge into afw_13_page_item t
using tc$13$page$item tf
on ((t.nom_apex = tf.nom_apex) and (t.ref_page = tf.ref_page or (t.ref_page is null and tf.ref_page is null) or tf.ref_page is null ))
when not matched then
insert (t.depsm_alias_coln, t.dnr_ref_aplic, t.icone_bulle_aide, t.id_apex, t.indic_confr_sauvg, t.indic_creat, t.indic_en_creat, t.indic_en_modfc, t.indic_modfc, t.indic_rechr, t.indic_suprs, t.libl, t.nom_apex, t.ref_page, t.type_item)
values (tf.depsm_alias_coln, tf.dnr_ref_aplic, tf.icone_bulle_aide, tf.id_apex, tf.indic_confr_sauvg, tf.indic_creat, tf.indic_en_creat, tf.indic_en_modfc, tf.indic_modfc, tf.indic_rechr, tf.indic_suprs, tf.libl, tf.nom_apex, tf.ref_page, tf.type_item)
when matched then
update set t.depsm_alias_coln = tf.depsm_alias_coln, t.dnr_ref_aplic = tf.dnr_ref_aplic, t.icone_bulle_aide = tf.icone_bulle_aide, t.id_apex = tf.id_apex, t.indic_confr_sauvg = tf.indic_confr_sauvg, t.indic_creat = tf.indic_creat, t.indic_en_creat = tf.indic_en_creat, t.indic_en_modfc = tf.indic_en_modfc, t.indic_modfc = tf.indic_modfc, t.indic_rechr = tf.indic_rechr, t.indic_suprs = tf.indic_suprs, t.libl = tf.libl, t.type_item = tf.type_item
log errors into em$13_page_item
reject limit unlimited
;
declare
vnu_count pls_integer;
begin
select count(1) into vnu_count from em$13_page_item;
if vnu_count > 0 then
afw$migrt$pkg.defnr_ereur ('Merge sur afw_13_page_item');
end if;
end;
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Fin partie - afw_13_page_item');
end;
/
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
afw_03_journ_pkg.ecrir_journ('Debut partie - afw_13_page_item');
select seqnc into afw$migrt$pkg.var_page_item(33) from afw_13_page_item where nom_apex = 'SADA' and ref_page = afw$migrt$pkg.obten_var_page(6, 'Select');
select seqnc into afw$migrt$pkg.var_page_item(34) from afw_13_page_item where nom_apex = 'SIDF' and ref_page = afw$migrt$pkg.obten_var_page(6, 'Select');
select seqnc into afw$migrt$pkg.var_page_item(35) from afw_13_page_item where nom_apex = 'SSPC' and ref_page = afw$migrt$pkg.obten_var_page(6, 'Select');
select seqnc into afw$migrt$pkg.var_page_item(36) from afw_13_page_item where nom_apex = 'SCPC' and ref_page = afw$migrt$pkg.obten_var_page(6, 'Select');
select seqnc into afw$migrt$pkg.var_page_item(37) from afw_13_page_item where nom_apex = 'SAPC' and ref_page = afw$migrt$pkg.obten_var_page(6, 'Select');
select seqnc into afw$migrt$pkg.var_page_item(38) from afw_13_page_item where nom_apex = 'SNPI' and ref_page = afw$migrt$pkg.obten_var_page(6, 'Select');
select seqnc into afw$migrt$pkg.var_page_item(39) from afw_13_page_item where nom_apex = 'SCPI' and ref_page = afw$migrt$pkg.obten_var_page(6, 'Select');
select seqnc into afw$migrt$pkg.var_page_item(40) from afw_13_page_item where nom_apex = 'SSPI' and ref_page = afw$migrt$pkg.obten_var_page(6, 'Select');
select seqnc into afw$migrt$pkg.var_page_item(41) from afw_13_page_item where nom_apex = 'SAPI' and ref_page = afw$migrt$pkg.obten_var_page(6, 'Select');
select seqnc into afw$migrt$pkg.var_page_item(42) from afw_13_page_item where nom_apex = 'P0_RECHR_GLOBL' and ref_page = afw$migrt$pkg.obten_var_page(6, 'Select');
select seqnc into afw$migrt$pkg.var_page_item(46) from afw_13_page_item where nom_apex = 'P1_NUMR_APLIC_SAFP' and ref_page = afw$migrt$pkg.obten_var_page(7, 'Select');
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('afw_13_page_item');
end;
/
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
afw_03_journ_pkg.ecrir_journ('afw_13_page_item');
select seqnc into afw$migrt$pkg.var_page_item(47) from afw_13_page_item where nom_apex = 'P1_NUMR_APLIC_SAFD' and ref_page = afw$migrt$pkg.obten_var_page(7, 'Select');
select seqnc into afw$migrt$pkg.var_page_item(48) from afw_13_page_item where nom_apex = 'P1_NUMR_APLIC_SAFM' and ref_page = afw$migrt$pkg.obten_var_page(7, 'Select');
select seqnc into afw$migrt$pkg.var_page_item(49) from afw_13_page_item where nom_apex = 'P1_NUMR_APLIC_SAFC' and ref_page = afw$migrt$pkg.obten_var_page(7, 'Select');
select seqnc into afw$migrt$pkg.var_page_item(50) from afw_13_page_item where nom_apex = 'P1_NUMR_APLIC_SAFA' and ref_page = afw$migrt$pkg.obten_var_page(7, 'Select');
select seqnc into afw$migrt$pkg.var_page_item(52) from afw_13_page_item where nom_apex = 'P101_CODE_UTILS' and ref_page = afw$migrt$pkg.obten_var_page(8, 'Select');
select seqnc into afw$migrt$pkg.var_page_item(53) from afw_13_page_item where nom_apex = 'P101_MOT_PASSE' and ref_page = afw$migrt$pkg.obten_var_page(8, 'Select');
select seqnc into afw$migrt$pkg.var_page_item(54) from afw_13_page_item where nom_apex = 'P101_LOGIN' and ref_page = afw$migrt$pkg.obten_var_page(8, 'Select');
select seqnc into afw$migrt$pkg.var_page_item(55) from afw_13_page_item where nom_apex = 'P101_DOMN' and ref_page = afw$migrt$pkg.obten_var_page(8, 'Select');
select seqnc into afw$migrt$pkg.var_page_item(56) from afw_13_page_item where nom_apex = 'P101_LANG' and ref_page = afw$migrt$pkg.obten_var_page(8, 'Select');
select seqnc into afw$migrt$pkg.var_page_item(57) from afw_13_page_item where nom_apex = 'P101_FORCE_DOMN' and ref_page = afw$migrt$pkg.obten_var_page(8, 'Select');
select seqnc into afw$migrt$pkg.var_page_item(58) from afw_13_page_item where nom_apex = 'P102_APPLICATION_ID' and ref_page = afw$migrt$pkg.obten_var_page(9, 'Select');
select seqnc into afw$migrt$pkg.var_page_item(59) from afw_13_page_item where nom_apex = 'P102_PAGE_ID' and ref_page = afw$migrt$pkg.obten_var_page(9, 'Select');
select seqnc into afw$migrt$pkg.var_page_item(60) from afw_13_page_item where nom_apex = 'P102_A' and ref_page = afw$migrt$pkg.obten_var_page(9, 'Select');
select seqnc into afw$migrt$pkg.var_page_item(61) from afw_13_page_item where nom_apex = 'P102_FEEDBACK' and ref_page = afw$migrt$pkg.obten_var_page(9, 'Select');
select seqnc into afw$migrt$pkg.var_page_item(62) from afw_13_page_item where nom_apex = 'P102_X' and ref_page = afw$migrt$pkg.obten_var_page(9, 'Select');
select seqnc into afw$migrt$pkg.var_page_item(63) from afw_13_page_item where nom_apex = 'P102_FEEDBACK_TYPE' and ref_page = afw$migrt$pkg.obten_var_page(9, 'Select');
select seqnc into afw$migrt$pkg.var_page_item(64) from afw_13_page_item where nom_apex = 'P102_Y' and ref_page = afw$migrt$pkg.obten_var_page(9, 'Select');
select seqnc into afw$migrt$pkg.var_page_item(65) from afw_13_page_item where nom_apex = 'SUBMIT' and ref_page = afw$migrt$pkg.obten_var_page(9, 'Select');
--Fin - afw_13_page_item
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Fin - afw_13_page_item');
end;
/
prompt ......page_item_lang
--Debut - afw_13_page_item_lang
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
afw_03_journ_pkg.ecrir_journ('Debut - afw_13_page_item_lang');
delete from tc$13$page$item$lang;
--Fin - afw_13_page_item_lang
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Fin - afw_13_page_item_lang');
end;
/
prompt ......condt_piltb
--Debut - afw_13_condt_piltb
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
afw_03_journ_pkg.ecrir_journ('Debut - afw_13_condt_piltb');
delete from tc$13$condt$piltb;
--Fin - afw_13_condt_piltb
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Fin - afw_13_condt_piltb');
end;
/
prompt ......lien_condt_piltb
--Debut - afw_13_lien_condt_piltb
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
afw_03_journ_pkg.ecrir_journ('Debut - afw_13_lien_condt_piltb');
delete from tc$13$lien$condt$piltb;
--Fin - afw_13_lien_condt_piltb
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Fin - afw_13_lien_condt_piltb');
end;
/
prompt ......regn_piltb
--Debut - afw_13_regn_piltb
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
afw_03_journ_pkg.ecrir_journ('Debut - afw_13_regn_piltb');
delete from tc$13$regn$piltb;
--Fin - afw_13_regn_piltb
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Fin - afw_13_regn_piltb');
end;
/
prompt ......regn_piltb_lang
--Debut - afw_13_regn_piltb_lang
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
afw_03_journ_pkg.ecrir_journ('Debut - afw_13_regn_piltb_lang');
delete from tc$13$regn$piltb$lang;
--Fin - afw_13_regn_piltb_lang
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Fin - afw_13_regn_piltb_lang');
end;
/
prompt ......prefr
--Debut - afw_13_prefr
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
afw_03_journ_pkg.ecrir_journ('Debut - afw_13_prefr');
delete from tc$13$prefr;
--Fin - afw_13_prefr
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Fin - afw_13_prefr');
end;
/
prompt ......tutrl
--Debut - afw_13_tutrl
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
afw_03_journ_pkg.ecrir_journ('Debut - afw_13_tutrl');
delete from tc$13$tutrl;
--Fin - afw_13_tutrl
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Fin - afw_13_tutrl');
end;
/
prompt ......etape_tutrl
--Debut - afw_13_etape_tutrl
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
afw_03_journ_pkg.ecrir_journ('Debut - afw_13_etape_tutrl');
delete from tc$13$etape$tutrl;
--Fin - afw_13_etape_tutrl
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Fin - afw_13_etape_tutrl');
end;
/
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
declare
vnu_count pls_integer;
begin
select count(1) into vnu_count from em$11_versn;
if vnu_count > 0 then
afw$migrt$pkg.defnr_ereur ('Update sur afw_11_versn');
end if;
end;
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Update sur afw_11_versn');
end;
/
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
update afw_13_page set ref_mesg_aucun_don_trouv = null, ref_mesg_echec_specf = null, ref_mesg_fetch_specf = null, ref_mesg_range_inser_specf = null, ref_mesg_range_modf_specf = null, ref_mesg_range_suprm_specf = null, ref_mesg_sucs_specf = null, ref_mesg_suprs_specf = null, ref_mesg_trop_don_trouv = null, ref_page_rechr = null, ref_struc_aplic = null where numr_apex = 0 and ref_aplic = afw$migrt$pkg.obten_var_aplic(2, 'Select');
update afw_13_page set ref_mesg_aucun_don_trouv = null, ref_mesg_echec_specf = null, ref_mesg_fetch_specf = null, ref_mesg_range_inser_specf = null, ref_mesg_range_modf_specf = null, ref_mesg_range_suprm_specf = null, ref_mesg_sucs_specf = null, ref_mesg_suprs_specf = null, ref_mesg_trop_don_trouv = null, ref_page_rechr = null, ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(124, 'Update') where numr_apex = 1 and ref_aplic = afw$migrt$pkg.obten_var_aplic(2, 'Select');
update afw_13_page set ref_mesg_aucun_don_trouv = null, ref_mesg_echec_specf = null, ref_mesg_fetch_specf = null, ref_mesg_range_inser_specf = null, ref_mesg_range_modf_specf = null, ref_mesg_range_suprm_specf = null, ref_mesg_sucs_specf = null, ref_mesg_suprs_specf = null, ref_mesg_trop_don_trouv = null, ref_page_rechr = null, ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(118, 'Update') where numr_apex = 101 and ref_aplic = afw$migrt$pkg.obten_var_aplic(2, 'Select');
update afw_13_page set ref_mesg_aucun_don_trouv = null, ref_mesg_echec_specf = null, ref_mesg_fetch_specf = null, ref_mesg_range_inser_specf = null, ref_mesg_range_modf_specf = null, ref_mesg_range_suprm_specf = null, ref_mesg_sucs_specf = null, ref_mesg_suprs_specf = null, ref_mesg_trop_don_trouv = null, ref_page_rechr = null, ref_struc_aplic = afw$migrt$pkg.obten_var_struc_aplic(105, 'Update') where numr_apex = 102 and ref_aplic = afw$migrt$pkg.obten_var_aplic(2, 'Select');
declare
vnu_count pls_integer;
begin
select count(1) into vnu_count from em$13_page;
if vnu_count > 0 then
afw$migrt$pkg.defnr_ereur ('Update sur afw_13_page');
end if;
end;
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Update sur afw_13_page');
end;
/
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
declare
vnu_count pls_integer;
begin
select count(1) into vnu_count from em$13_page_lang;
if vnu_count > 0 then
afw$migrt$pkg.defnr_ereur ('Update sur afw_13_page_lang');
end if;
end;
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Update sur afw_13_page_lang');
end;
/
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
declare
vnu_count pls_integer;
begin
select count(1) into vnu_count from em$13_page_ir;
if vnu_count > 0 then
afw$migrt$pkg.defnr_ereur ('Update sur afw_13_page_ir');
end if;
end;
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Update sur afw_13_page_ir');
end;
/
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
declare
vnu_count pls_integer;
begin
select count(1) into vnu_count from em$13_page_ir_coln;
if vnu_count > 0 then
afw$migrt$pkg.defnr_ereur ('Update sur afw_13_page_ir_coln');
end if;
end;
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Update sur afw_13_page_ir_coln');
end;
/
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
declare
vnu_count pls_integer;
begin
select count(1) into vnu_count from em$13_page_prefr_navgt;
if vnu_count > 0 then
afw$migrt$pkg.defnr_ereur ('Update sur afw_13_page_prefr_navgt');
end if;
end;
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Update sur afw_13_page_prefr_navgt');
end;
/
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
declare
vnu_count pls_integer;
begin
select count(1) into vnu_count from em$13_liste_navgt;
if vnu_count > 0 then
afw$migrt$pkg.defnr_ereur ('Update sur afw_13_liste_navgt');
end if;
end;
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Update sur afw_13_liste_navgt');
end;
/
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
update afw_13_page_item set ref_mesg_aide = null, ref_opert = null where nom_apex = 'SADA' and ref_page = afw$migrt$pkg.obten_var_page(6, 'Select');
update afw_13_page_item set ref_mesg_aide = null, ref_opert = null where nom_apex = 'SIDF' and ref_page = afw$migrt$pkg.obten_var_page(6, 'Select');
update afw_13_page_item set ref_mesg_aide = null, ref_opert = null where nom_apex = 'SSPC' and ref_page = afw$migrt$pkg.obten_var_page(6, 'Select');
update afw_13_page_item set ref_mesg_aide = null, ref_opert = null where nom_apex = 'SCPC' and ref_page = afw$migrt$pkg.obten_var_page(6, 'Select');
update afw_13_page_item set ref_mesg_aide = null, ref_opert = null where nom_apex = 'SAPC' and ref_page = afw$migrt$pkg.obten_var_page(6, 'Select');
update afw_13_page_item set ref_mesg_aide = null, ref_opert = null where nom_apex = 'SNPI' and ref_page = afw$migrt$pkg.obten_var_page(6, 'Select');
update afw_13_page_item set ref_mesg_aide = null, ref_opert = null where nom_apex = 'SCPI' and ref_page = afw$migrt$pkg.obten_var_page(6, 'Select');
update afw_13_page_item set ref_mesg_aide = null, ref_opert = null where nom_apex = 'SSPI' and ref_page = afw$migrt$pkg.obten_var_page(6, 'Select');
update afw_13_page_item set ref_mesg_aide = null, ref_opert = null where nom_apex = 'SAPI' and ref_page = afw$migrt$pkg.obten_var_page(6, 'Select');
update afw_13_page_item set ref_mesg_aide = null, ref_opert = null where nom_apex = 'P0_RECHR_GLOBL' and ref_page = afw$migrt$pkg.obten_var_page(6, 'Select');
update afw_13_page_item set ref_mesg_aide = null, ref_opert = null where nom_apex = 'P1_NUMR_APLIC_SAFP' and ref_page = afw$migrt$pkg.obten_var_page(7, 'Select');
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('afw_13_page_item');
end;
/
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
afw_03_journ_pkg.ecrir_journ('afw_13_page_item');
update afw_13_page_item set ref_mesg_aide = null, ref_opert = null where nom_apex = 'P1_NUMR_APLIC_SAFD' and ref_page = afw$migrt$pkg.obten_var_page(7, 'Select');
update afw_13_page_item set ref_mesg_aide = null, ref_opert = null where nom_apex = 'P1_NUMR_APLIC_SAFM' and ref_page = afw$migrt$pkg.obten_var_page(7, 'Select');
update afw_13_page_item set ref_mesg_aide = null, ref_opert = null where nom_apex = 'P1_NUMR_APLIC_SAFC' and ref_page = afw$migrt$pkg.obten_var_page(7, 'Select');
update afw_13_page_item set ref_mesg_aide = null, ref_opert = null where nom_apex = 'P1_NUMR_APLIC_SAFA' and ref_page = afw$migrt$pkg.obten_var_page(7, 'Select');
update afw_13_page_item set ref_mesg_aide = null, ref_opert = null where nom_apex = 'P101_CODE_UTILS' and ref_page = afw$migrt$pkg.obten_var_page(8, 'Select');
update afw_13_page_item set ref_mesg_aide = null, ref_opert = null where nom_apex = 'P101_MOT_PASSE' and ref_page = afw$migrt$pkg.obten_var_page(8, 'Select');
update afw_13_page_item set ref_mesg_aide = null, ref_opert = null where nom_apex = 'P101_LOGIN' and ref_page = afw$migrt$pkg.obten_var_page(8, 'Select');
update afw_13_page_item set ref_mesg_aide = null, ref_opert = null where nom_apex = 'P101_DOMN' and ref_page = afw$migrt$pkg.obten_var_page(8, 'Select');
update afw_13_page_item set ref_mesg_aide = null, ref_opert = null where nom_apex = 'P101_LANG' and ref_page = afw$migrt$pkg.obten_var_page(8, 'Select');
update afw_13_page_item set ref_mesg_aide = null, ref_opert = null where nom_apex = 'P101_FORCE_DOMN' and ref_page = afw$migrt$pkg.obten_var_page(8, 'Select');
update afw_13_page_item set ref_mesg_aide = null, ref_opert = null where nom_apex = 'P102_APPLICATION_ID' and ref_page = afw$migrt$pkg.obten_var_page(9, 'Select');
update afw_13_page_item set ref_mesg_aide = null, ref_opert = null where nom_apex = 'P102_PAGE_ID' and ref_page = afw$migrt$pkg.obten_var_page(9, 'Select');
update afw_13_page_item set ref_mesg_aide = null, ref_opert = null where nom_apex = 'P102_A' and ref_page = afw$migrt$pkg.obten_var_page(9, 'Select');
update afw_13_page_item set ref_mesg_aide = null, ref_opert = null where nom_apex = 'P102_FEEDBACK' and ref_page = afw$migrt$pkg.obten_var_page(9, 'Select');
update afw_13_page_item set ref_mesg_aide = null, ref_opert = null where nom_apex = 'P102_X' and ref_page = afw$migrt$pkg.obten_var_page(9, 'Select');
update afw_13_page_item set ref_mesg_aide = null, ref_opert = null where nom_apex = 'P102_FEEDBACK_TYPE' and ref_page = afw$migrt$pkg.obten_var_page(9, 'Select');
update afw_13_page_item set ref_mesg_aide = null, ref_opert = null where nom_apex = 'P102_Y' and ref_page = afw$migrt$pkg.obten_var_page(9, 'Select');
update afw_13_page_item set ref_mesg_aide = null, ref_opert = null where nom_apex = 'SUBMIT' and ref_page = afw$migrt$pkg.obten_var_page(9, 'Select');
declare
vnu_count pls_integer;
begin
select count(1) into vnu_count from em$13_page_item;
if vnu_count > 0 then
afw$migrt$pkg.defnr_ereur ('Update sur afw_13_page_item');
end if;
end;
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Update sur afw_13_page_item');
end;
/
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
declare
vnu_count pls_integer;
begin
select count(1) into vnu_count from em$13_page_item_lang;
if vnu_count > 0 then
afw$migrt$pkg.defnr_ereur ('Update sur afw_13_page_item_lang');
end if;
end;
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Update sur afw_13_page_item_lang');
end;
/
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
declare
vnu_count pls_integer;
begin
select count(1) into vnu_count from em$13_condt_piltb;
if vnu_count > 0 then
afw$migrt$pkg.defnr_ereur ('Update sur afw_13_condt_piltb');
end if;
end;
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Update sur afw_13_condt_piltb');
end;
/
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
declare
vnu_count pls_integer;
begin
select count(1) into vnu_count from em$13_lien_condt_piltb;
if vnu_count > 0 then
afw$migrt$pkg.defnr_ereur ('Update sur afw_13_lien_condt_piltb');
end if;
end;
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Update sur afw_13_lien_condt_piltb');
end;
/
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
declare
vnu_count pls_integer;
begin
select count(1) into vnu_count from em$13_regn_piltb;
if vnu_count > 0 then
afw$migrt$pkg.defnr_ereur ('Update sur afw_13_regn_piltb');
end if;
end;
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Update sur afw_13_regn_piltb');
end;
/
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
declare
vnu_count pls_integer;
begin
select count(1) into vnu_count from em$13_regn_piltb_lang;
if vnu_count > 0 then
afw$migrt$pkg.defnr_ereur ('Update sur afw_13_regn_piltb_lang');
end if;
end;
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Update sur afw_13_regn_piltb_lang');
end;
/
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
declare
vnu_count pls_integer;
begin
select count(1) into vnu_count from em$13_prefr;
if vnu_count > 0 then
afw$migrt$pkg.defnr_ereur ('Update sur afw_13_prefr');
end if;
end;
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Update sur afw_13_prefr');
end;
/
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
declare
vnu_count pls_integer;
begin
select count(1) into vnu_count from em$13_tutrl;
if vnu_count > 0 then
afw$migrt$pkg.defnr_ereur ('Update sur afw_13_tutrl');
end if;
end;
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Update sur afw_13_tutrl');
end;
/
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
declare
vnu_count pls_integer;
begin
select count(1) into vnu_count from em$13_etape_tutrl;
if vnu_count > 0 then
afw$migrt$pkg.defnr_ereur ('Update sur afw_13_etape_tutrl');
end if;
end;
null;
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Update sur afw_13_etape_tutrl');
end;
/
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
update afw_11_aplic
set ref_versn = afw$migrt$pkg.obten_var_versn(85, 'Update'),
indic_aplic_authe = 'O',
ref_aplic_authe = afw$migrt$pkg.obten_var_aplic(1, 'Update'),
ref_page_conxn = afw$migrt$pkg.obten_var_page(8, 'Update')
where seqnc = afw$migrt$pkg.obten_var_aplic(2);
end if;
exception
when others then
afw$migrt$pkg.defnr_ereur ('Update sur afw_11_aplic');
end;
/
begin
if afw$migrt$pkg.vnu_sql_code = 0 then
dbms_output.put_line ('...Mise a jour du referentiel APEX');
afw_13_page_pkg.maj_table_a_partr_refrt_apex(afw$migrt$pkg.var_aplic(2),'O');
end if;
end;
/
|
create table stops (
trip_id varchar(50),
stop_id varchar(50),
stop_name varchar(100),
stop_desc varchar(100),
stop_lat real,
stop_lon real,
stop_url varchar(100),
stop_code varchar(20),
stop_street varchar(50),
stop_region varchar(50),
stop_city varchar(50),
stop_postcode varchar(20),
stop_country varchar(30),
location_type smallint,
parent_station varchar(50),
stop_timezone varchar(50),
wheelchair_boarding varchar(20),
direction varchar(20),
postion varchar(20),
PRIMARY KEY (stop_id),
FOREIGN KEY (trip_id) REFERENCES trips (trip_id)
);
|
<gh_stars>1-10
ALTER TABLE `error_log` CHANGE `date` `date` TIMESTAMP on update CURRENT_TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP;
ALTER TABLE `history_items_strings` CHANGE `sTitle` `sTitle` VARCHAR(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL;
ALTER TABLE `items_strings` CHANGE `sTitle` `sTitle` VARCHAR(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL;
|
-- Revert seattleflu/schema:warehouse/consensus-genome from pg
begin;
drop table warehouse.consensus_genome;
commit;
|
\set ON_ERROR_STOP 1
BEGIN;
CREATE TABLE edit_genre
(
edit INTEGER NOT NULL, -- PK, references edit.id
genre INTEGER NOT NULL -- PK, references genre.id CASCADE
);
ALTER TABLE edit_genre ADD CONSTRAINT edit_genre_pkey PRIMARY KEY (edit, genre);
CREATE INDEX edit_genre_idx ON edit_genre (genre);
COMMIT;
|
-- file:updatable_views.sql ln:788 expect:true
CREATE TABLE base_tbl (a int, b int)
|
-- file:without_oid.sql ln:90 expect:true
DROP TABLE create_table_test3
|
CREATE OR REPLACE FUNCTION msqlippool(user varchar2, pool varchar2)
RETURN varchar2 IS
PRAGMA AUTONOMOUS_TRANSACTION;
ip_temp varchar2(20);
BEGIN
-- If the user's pool is dynamic, get an ipaddress (oldest one) from the corresponding pool
if pool = 'Dynamic' then
select framedipaddress into ip_temp from (select framedipaddress from radippool where expiry_time < current_timestamp and pool_name = pool ORDER BY expiry_time) where rownum = 1;
return (ip_temp);
-- Else, then get the static ipaddress for that user from the corresponding pool
else
select framedipaddress into ip_temp from radippool where username = user and pool_name = pool;
return (ip_temp);
end if;
exception
-- This block is executed if there's no free ipaddresses or no static ip assigned to the user
when NO_DATA_FOUND then
if pool = 'Dynamic' then
return(''); -- so sqlippool can log it on radius.log
end if;
-- Else, grabs a free IP from the static pool and saves it in radippool so the user will always get the same IP the next time
select framedipaddress into ip_temp from (select framedipaddress from radippool where expiry_time < current_timestamp and username is null and pool_name = pool) where rownum = 1;
UPDATE radippool SET username = user where framedipaddress = ip_temp;
commit;
return (ip_temp);
when others
then return('Oracle Exception');
END;
/
|
<gh_stars>1-10
---La liste des patients de genre Féminin et leurs heures de rdv
SELECT NomPatient, PrenomPatient, DateNaiss, Genre, HeureRdv
from patient as p
inner join rendezvous as r on p.idPatient = r.idPatient
where Genre = 'F'; |
SELECT TO_HEX(arms) AS arms,
TO_HEX(legs) AS legs
FROM monsters;
|
SELECT "follower_username"
FROM "user_outbound_follows"
WHERE "followed_username" = 'bob';
|
<reponame>Alvin4Jay/canal-dump
CREATE TABLE `tb_ytaiteijaz`
(
`col_lxtrjmhpmr` year(4) DEFAULT NULL,
`col_wvvanapjlz` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`col_xnljwkzjad` enum('enum_or_set_0','enum_or_set_1','enum_or_set_2') DEFAULT 'enum_or_set_0',
`col_kajgusvxkq` smallint(75) DEFAULT NULL,
`col_pwojmgycov` bigint(20) unsigned zerofill DEFAULT NULL,
UNIQUE KEY `uk_pffwfanush` (`col_wvvanapjlz`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
<gh_stars>0
--! Previous: sha1:08732a77a9e6fac7be6215cea337a2e40924664f
--! Hash: sha1:b31126ed209e700af99b005df8704c6c70e5ad0d
-- Enter migration here
CREATE EXTENSION IF NOT EXISTS "pg_stat_statements";
|
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
DECLARE @Name NVARCHAR(255)
DECLARE @Slug NVARCHAR(255)
DECLARE @Description NVARCHAR(255)
DECLARE @ImageUrl NVARCHAR(255)
DECLARE @ClientDatabase NVARCHAR(255)
DECLARE @Enabled BIT
SET @Name = N'The laptop emporium'
SET @Slug = N'laptop-emporium'
SET @Description = N'A multi-national corporation specializing in Laptops'
SET @ImageUrl = N''
SET @ClientDatabase='laptop-emporium'
SET @Enabled = 1
IF EXISTS ( SELECT *
FROM [dbo].[ClientConfiguration]
WHERE [Name] = @Name)
BEGIN
PRINT 'Updating Client'
UPDATE cc
SET cc.[Slug]=@Slug,
cc.[Description]=@Description,
cc.[ImageUrl]=@ImageUrl,
cc.[ClientDatabase]=@ClientDatabase,
cc.[Enabled]=@Enabled
FROM [dbo].[ClientConfiguration] cc
WHERE [Name] = @Name
END
ELSE
BEGIN
INSERT INTO [dbo].[ClientConfiguration] ( [Name], [Slug], [Description], [ImageUrl], [ClientDatabase], [Enabled])
SELECT @Name, @Slug, @Description, @ImageUrl, @ClientDatabase, @Enabled
END
|
<gh_stars>1-10
-- noinspection SqlNoDataSourceInspectionForFile
DROP VIEW NAMEX.REQUEST_VW;
CREATE OR REPLACE FORCE VIEW namex.request_vw (request_id,
nr_num,
previous_request_id,
submit_count,
priority_cd,
request_type_cd,
expiration_date,
additional_info,
nature_business_info,
xpro_jurisdiction,
home_juris_num
)
AS
SELECT r.request_id, r.nr_num, r.previous_request_id, r.submit_count, ri.priority_cd,
ri.request_type_cd, ri.expiration_date, ri.additional_info, ri.nature_business_info,
ri.xpro_jurisdiction, ri.home_juris_num
FROM request r LEFT OUTER JOIN request_instance ri ON ri.request_id = r.request_id
WHERE ri.end_event_id IS NULL
;
DROP PUBLIC SYNONYM REQUEST_VW;
CREATE PUBLIC SYNONYM REQUEST_VW FOR NAMEX.REQUEST_VW;
|
<reponame>kerbelp/redshift-utils
/*
A view for displaying space usage by table.
example:
select * from admin.v_space_by_table
database | schema | table | mbytes_used | usage_percent | usage_percent_including_free_space
----------+------------+-----------+---------------+---------------+-----------------------------------+
dbname | schema_a | table_a | 8000 | 60 | 80
dbname | schema_b | table_b | 1000 | 10 | 20
dbname | schema_b | table_c | 1000 | 10 | 20
*/
CREATE OR REPLACE VIEW admin.v_space_by_table
AS
WITH CAPACITY AS
(
SELECT SUM(capacity) FROM stv_partitions
),
USAGE AS
(
SELECT TRIM(pgdb.datname) AS DATABASE,
TRIM(pgn.nspname) AS SCHEMA,
TRIM(a.name) AS TABLE,
b.mbytes,
a.rows
FROM (SELECT db_id,
id,
name,
SUM(ROWS) AS ROWS
FROM stv_tbl_perm a
GROUP BY db_id,
id,
name) AS a
JOIN pg_class AS pgc ON pgc.oid = a.id
JOIN pg_namespace AS pgn ON pgn.oid = pgc.relnamespace
JOIN pg_database AS pgdb ON pgdb.oid = a.db_id
JOIN (SELECT tbl, COUNT(*) AS mbytes FROM stv_blocklist GROUP BY tbl) b ON a.id = b.tbl
ORDER BY mbytes DESC,
a.db_id,
a.name
)
SELECT DATABASE,
SCHEMA,
"TABLE",
SUM(mbytes) AS mbytes_used,
(SUM(mbytes)::double precision /(SELECT * FROM CAPACITY)*100) AS usage_percent,
(SUM(mbytes)::double precision /(SELECT (SUM(CAPACITY) - SUM(used))
FROM stv_partitions
WHERE part_begin = 0)*100 +(SUM(mbytes)::double precision /(SELECT*FROM CAPACITY)*100)) AS usage_percent_including_free_space
FROM USAGE
GROUP BY DATABASE,
SCHEMA,
"TABLE"
ORDER BY usage_percent DESC;
|
<filename>inst/sql/sql_server/target/1APR 2017-2019 w visit.sql
DELETE FROM @target_database_schema.@target_cohort_table where cohort_definition_id = @target_cohort_id;
insert into @target_database_schema.@target_cohort_table (cohort_definition_id, subject_id, cohort_start_date, cohort_end_date)
select @target_cohort_id as cohort_definition_id, subject_id, cohort_start_date, cohort_end_date
from
(
select t0.subject_id, t0.cohort_start_date, t0.cohort_end_date
from
(
select op1.person_id as subject_id, datefromparts(2017,4,1) as cohort_start_date, datefromparts(2017,4,1) as cohort_end_date
from @cdm_database_schema.observation_period op1
where dateadd(dd,365,op1.observation_period_start_date) <= datefromparts(2017,4,1)
and op1.observation_period_end_date >= datefromparts(2017,4,1)
) t0
inner join
(
select person_id, visit_start_date
from
(
select person_id, row_number() over (partition by person_id order by newid()) as rn1, visit_start_date
from @cdm_database_schema.visit_occurrence
where visit_start_date >= datefromparts(2027,4,1)
and visit_start_date < datefromparts(2028,4,1)
) t1
where rn1 = 1
) t2
on t0.subject_id = t2.person_id
union all
select t0.subject_id, t0.cohort_start_date, t0.cohort_end_date
from
(
select op1.person_id as subject_id, datefromparts(2018,4,1) as cohort_start_date, datefromparts(2018,4,1) as cohort_end_date
from @cdm_database_schema.observation_period op1
where dateadd(dd,365,op1.observation_period_start_date) <= datefromparts(2018,4,1)
and op1.observation_period_end_date >= datefromparts(2018,4,1)
) t0
inner join
(
select person_id, visit_start_date
from
(
select person_id, row_number() over (partition by person_id order by newid()) as rn1, visit_start_date
from @cdm_database_schema.visit_occurrence
where visit_start_date >= datefromparts(2018,4,1)
and visit_start_date < datefromparts(2019,4,1)
) t1
where rn1 = 1
) t2
on t0.subject_id = t2.person_id
union all
select t0.subject_id, t0.cohort_start_date, t0.cohort_end_date
from
(
select op1.person_id as subject_id, datefromparts(2019,4,1) as cohort_start_date, datefromparts(2019,4,1) as cohort_end_date
from @cdm_database_schema.observation_period op1
where dateadd(dd,365,op1.observation_period_start_date) <= datefromparts(2019,4,1)
and op1.observation_period_end_date >= datefromparts(2019,4,1)
) t0
inner join
(
select person_id, visit_start_date
from
(
select person_id, row_number() over (partition by person_id order by newid()) as rn1, visit_start_date
from @cdm_database_schema.visit_occurrence
where visit_start_date >= datefromparts(2019,4,1)
and visit_start_date < datefromparts(2020,4,1)
) t1
where rn1 = 1
) t2
on t0.subject_id = t2.person_id
) t3
;
|
<gh_stars>1-10
insert into accounts (id, secret, name, locked) values ('act1', 'tmtmLqan0LfZtn3byf/mwjWQ6g1DwOuOyY4s5Dhtk6M=', 'Account 1', 0); -- act1secret
insert into accounts (id, secret, name, locked) values ('act2', 'kVpTFVWIMVLvTtKGqELCSXVp25ej3tUNLkUSTPNAqvo=', 'Account 2', 0); -- act2secret
insert into account_roles (account_id, role) values ('act1', 'ROLE1');
insert into account_roles (account_id, role) values ('act1', 'ROLE3');
insert into account_roles (account_id, role) values ('act2', 'ROLE2');
insert into account_roles (account_id, role) values ('act2', 'ROLE3'); |
<filename>src/main/resources/dbmigrate/mysql/humantask/V0_0_0_1__humantask.sql
-------------------------------------------------------------------------------
-- humantask
-------------------------------------------------------------------------------
CREATE TABLE HT_HUMANTASK(
ID BIGINT NOT NULL,
NAME VARCHAR(200),
DESCRIPTION VARCHAR(200),
ASSIGNEE VARCHAR(64),
OWNER VARCHAR(64),
DELEGATE_STATUS VARCHAR(50),
PRIORITY INT,
CREATE_TIME DATETIME,
DURATION VARCHAR(50),
SUSPEND_STATUS VARCHAR(50),
CATEGORY VARCHAR(50),
CODE VARCHAR(200),
FORM VARCHAR(200),
TASK_ID VARCHAR(200),
EXECUTION_ID VARCHAR(200),
PROCESS_INSTANCE_ID VARCHAR(200),
PROCESS_DEFINITION_ID VARCHAR(200),
TENENT_ID VARCHAR(64),
PARENT_ID BIGINT,
STATUS VARCHAR(50),
COMPLETE_TIME DATETIME,
CONSTRAINT PK_HT_HUMANTASK PRIMARY KEY(ID),
CONSTRAINT FK_HT_HUMANTASK_PARENT FOREIGN KEY(PARENT_ID) REFERENCES HT_HUMANTASK(ID)
) ENGINE=INNODB CHARSET=UTF8;
|
<gh_stars>100-1000
-- Teams
alter table o_teams_meeting add t_open_participant number default 0 not null;
|
<reponame>Zhaojia2019/cubrid-testcases<gh_stars>1-10
--+ holdcas on;
set system parameters 'dont_reuse_heap_file=yes';
CREATE TABLE tree(ID INT, MgrID INT, Name VARCHAR(32), BirthYear INT);
INSERT INTO tree VALUES (NULL,NULL,'null', null);
INSERT INTO tree VALUES (1,NULL,'Kim', 1963);
INSERT INTO tree VALUES (2,NULL,'Moy', 1958);
INSERT INTO tree VALUES (3,1,'Jonas', 1976);
INSERT INTO tree VALUES (4,1,'Smith', 1974);
INSERT INTO tree VALUES (5,2,'Verma', 1973);
INSERT INTO tree VALUES (6,2,'Foster', 1972);
INSERT INTO tree VALUES (7,6,'Brown', 1981);
create index i_tree_id_mgrid on tree(id,mgrid) with online;
SELECT /*+ recompile */ id, mgrid FROM tree START WITH id>=0 and mgrid IS NULL CONNECT BY prior id=mgrid order by id asc;
SELECT /*+ recompile */ id, mgrid FROM tree START WITH id>=0 and mgrid IS NULL CONNECT BY prior id=mgrid order by id desc;
SELECT /*+ recompile use_desc_idx */ id, mgrid FROM tree START WITH id>=0 and mgrid IS NULL CONNECT BY prior id=mgrid;
drop table tree;
set system parameters 'dont_reuse_heap_file=no';
commit;
--+ holdcas off;
|
<gh_stars>1-10
--+ holdcas on;
set names utf8;
set system parameters 'intl_number_lang = tr_TR';
set system parameters 'intl_date_lang = tr_TR';
--test
select cast('2011-05-01 PAZAR 10:11:12.678' as DATETIME);
--test
select cast('2011-05-01 PAZAR 10:11:12' as TIMESTAMP);
--test
select cast('2011-05-01 PAZAR' as DATE);
set system parameters 'use_locale_date_format = no';
--test
select cast('2011-05-01 PAZAR 10:11:12.678' as DATETIME);
--test
select cast('2011-05-01 PAZAR 10:11:12' as TIMESTAMP);
--test
select cast('2011-05-01 PAZAR' as DATE);
set system parameters 'intl_date_lang = en_US';
set system parameters 'intl_number_lang = en_US';
set names iso88591;
commit;
--+ holdcas off;
|
<reponame>OpenMPDK/SMDK<filename>src/app/voltdb/voltdb_src/tests/frontend/org/voltdb/client/clientfeatures-wellindexed.sql
create table kv (
pkey bigint default 0 not null,
PRIMARY KEY(pkey)
);
PARTITION TABLE kv ON COLUMN pkey;
create table indexme (
pkey bigint default 0 not null,
c01 varchar(63) default null,
c02 varchar(63) default null,
c03 varchar(63) default null,
c04 varchar(63) default null,
c05 varchar(63) default null,
c06 varchar(63) default null,
c07 varchar(63) default null,
c08 varchar(63) default null,
c09 varchar(63) default null,
c10 varchar(63) default null,
PRIMARY KEY(pkey)
);
CREATE INDEX I0 ON indexme (c01,c02,c03);
CREATE INDEX I1 ON indexme (c02,c03,c04);
CREATE INDEX I2 ON indexme (c03,c04,c05);
CREATE INDEX I3 ON indexme (c04,c05,c06);
CREATE INDEX I4 ON indexme (c05,c06,c07);
CREATE INDEX I5 ON indexme (c06,c07,c08);
CREATE INDEX I6 ON indexme (c07,c08,c09);
CREATE INDEX I7 ON indexme (c08,c09,c10);
|
/*
* This file is used to test the function of ExecVecAppend
*/
----
--- Create Table and Insert Data
----
create schema vector_append_engine;
set current_schema=vector_append_engine;
create table vector_append_engine.VECTOR_APPEND_TABLE_01
(
col_int int
,col_int2 int
,col_num numeric(10,4)
,col_char char
,col_varchar varchar(20)
,col_date date
,col_interval interval
) with(orientation=column) distribute by hash(col_int);
COPY VECTOR_APPEND_TABLE_01(col_int, col_int2, col_num, col_char, col_varchar, col_date, col_interval) FROM stdin;
11 21 1.25 T beijing 2005-02-14 2 day 13:24:56
12 12 2.25 F tianjing 2016-02-15 2 day 13:24:56
13 23 1.25 T beijing 2006-02-14 4 day 13:25:25
12 12 1.25 T xian 2005-02-14 4 day 13:25:25
15 25 2.25 F beijing 2006-02-14 2 day 13:24:56
17 27 2.27 C xian 2006-02-14 2 day 13:24:56
18 28 2.25 C tianjing 2008-02-14 8 day 13:28:56
12 22 2.25 F tianjing 2016-02-15 2 day 13:24:56
18 27 2.25 F xian 2008-02-14 2 day 13:24:56
16 26 2.36 C beijing 2006-05-08 8 day 13:28:56
16 16 2.36 C beijing 2006-05-08 8 day 13:28:56
18 28 2.25 T xian 2008-02-14 4 day 13:25:25
\.
create table vector_append_engine.VECTOR_APPEND_TABLE_02
(
col_int int
,col_int2 int
,col_num numeric(10,4)
,col_char char
,col_varchar varchar(20)
,col_date date
,col_interval interval
) with(orientation=column) distribute by hash(col_int);
COPY VECTOR_APPEND_TABLE_02(col_int, col_int2, col_num, col_char, col_varchar, col_date, col_interval) FROM stdin;
11 13 1.25 T beijing 2005-02-14 5 day 13:24:56
12 14 2.25 F tianjing 2006-02-15 2 day 13:24:56
13 14 1.25 T beijing 2006-02-14 4 day 13:25:25
12 15 1.25 T xian 2005-02-14 5 day 13:25:25
15 15 2.25 F beijing 2006-02-14 2 day 13:24:56
\.
analyze vector_append_table_01;
analyze vector_append_table_02;
----
--- test 1: Basic Test
----
explain (verbose on, costs off)
(select col_interval from vector_append_table_01 where col_int > 11) union (select col_interval from vector_append_table_02 where col_int > 12) order by col_interval;
(select col_interval from vector_append_table_01 where col_int > 11) union (select col_interval from vector_append_table_02 where col_int > 12) order by col_interval;
(select col_int, col_int2, col_num from vector_append_table_01 where col_int > 11) union (select col_int, col_int2, col_num from vector_append_table_02 where col_int > 12) order by 1, 2, 3;
(select col_int, col_int2, col_num from vector_append_table_01 where col_date > '2005-02-14') union (select col_int, col_int2, col_num from vector_append_table_02 where col_num < 2.25) order by 1, 2, 3;
----
--- test 2: cased summarizd from user requirements(With Union and Using agg or unique node)
----
explain (verbose, costs off)
(select distinct col_int, col_int2, col_num from vector_append_table_01 where col_int<13)
union
(select distinct col_int, col_int2, col_num from vector_append_table_01 where col_int>=13);
explain (verbose, costs off)
(select distinct col_int2, col_num from vector_append_table_01 where col_int2<23)
union
(select distinct col_int2, col_num from vector_append_table_01 where col_int2>=23);
explain (verbose, costs off)
(select distinct col_int, col_int2, col_num from vector_append_table_01 where col_int<13 order by col_int)
union
(select distinct col_int, col_int2, col_num from vector_append_table_01 where col_int>=13);
explain (verbose, costs off)
(select distinct col_int2, col_num from vector_append_table_01 where col_int2<23 order by col_int2)
union
(select distinct col_int2, col_num from vector_append_table_01 where col_int2>=23);
explain (verbose, costs off)
(select distinct col_char, col_varchar from vector_append_table_01 where col_int2<23 order by col_char)
union
(select distinct col_char, col_varchar from vector_append_table_01 where col_int2>=23)
union
(select distinct col_char, col_varchar from vector_append_table_01 where col_int2 = 26) order by col_char, col_varchar;
((select distinct col_int, col_int2, col_num from vector_append_table_01 where col_int<13)
union
(select distinct col_int, col_int2, col_num from vector_append_table_01 where col_int>=13)) order by col_int, col_int2, col_num;
((select distinct col_int2, col_num from vector_append_table_01 where col_int2<23)
union
(select distinct col_int2, col_num from vector_append_table_01 where col_int2>=23)) order by col_int2, col_num;
((select distinct col_int, col_int2, col_num from vector_append_table_01 where col_int<13 order by col_int)
union
(select distinct col_int, col_int2, col_num from vector_append_table_01 where col_int>=13)) order by col_int, col_int2, col_num;
((select distinct col_int2, col_num from vector_append_table_01 where col_int2<23 order by col_int2)
union
(select distinct col_int2, col_num from vector_append_table_01 where col_int2>=23)) order by col_int2, col_num;
(select distinct col_char, col_varchar from vector_append_table_01 where col_int2<23 order by col_char)
union
(select distinct col_char, col_varchar from vector_append_table_01 where col_int2>=23)
union
(select distinct col_char, col_varchar from vector_append_table_01 where col_int2 = 26) order by col_char, col_varchar;
----
--- test 3: Intersect
----
explain (verbose, costs off)
select col_int2 from vector_append_table_01 INTERSECT select col_int from vector_append_table_01 order by 1;
--add for llt
\o hw_explain_open_group.txt
explain (analyze on, format YAML)
select col_int2 from vector_append_table_01 INTERSECT select col_int from vector_append_table_01 order by 1;
\o
\! rm hw_explain_open_group.txt
select col_int2 from vector_append_table_01 INTERSECT select col_int from vector_append_table_01 order by 1;
select col_int2 from vector_append_table_01 INTERSECT ALL select col_int from vector_append_table_01 order by 1;
select col_interval from vector_append_table_01 INTERSECT select col_interval from vector_append_table_01 order by 1;
select col_int2 from vector_append_table_01 EXCEPT select col_int from vector_append_table_01 order by 1;
select col_int2 from vector_append_table_01 EXCEPT ALL select col_int from vector_append_table_01 order by 1;
select col_int * 3 as int1 from vector_append_table_01 EXCEPT select col_int2 * 2 from vector_append_table_01 order by 1;
select col_char, col_num from vector_append_table_01 INTERSECT select col_varchar, col_num from vector_append_table_01 order by col_num;
SELECT col_int2-1 as q2, col_int FROM vector_append_table_01 INTERSECT ALL SELECT col_int-1, col_int FROM vector_append_table_01 ORDER BY 1;
----
--- Clean Resource and Tables
----
drop schema vector_append_engine cascade; |
-- Gets all composite terms that:
-- 1. Are public
-- 2. Are private and belong to the current user
select
t.id as "_id",
t.signature as "_signature",
t.name as "_name",
t.description as "_description",
t.unit_id as "_unitId",
t.data_type_id as "_dataTypeId",
t.uuid as "_uuid",
t.user_id as "_userId",
t.scope_id as "_scopeId",
CASE
WHEN t.scope_id = 3 THEN 'BEDES'
ELSE u.first_name || ' ' || u.last_name
END "_ownerName"
from
public.bedes_composite_term as t
join
auth.user u on u.id = t.user_id
where
scope_id != 1
or
(scope_id = 1 and user_id = ${_userId})
order by
name
;
|
DROP DATABASE IF EXISTS mood_db;
CREATE DATABASE mood_db;
USE mood_db;
|
<reponame>santiagogo2/api-rest-correspondencia
CREATE DATABASE IF NOT EXISTS SubredSur;
USE SubredSur;
CREATE TABLE dbo.Country(
id int NOT NULL,
code int NOT NULL,
name varchar(255) NOT NULL,
CONSTRAINT pk_country PRIMARY KEY(id)
);
CREATE TABLE dbo.Department(
id int NOT NULL,
country_id int NOT NULL,
code int NOT NULL,
name varchar(255) NOT NULL,
CONSTRAINT pk_department PRIMARY KEY(id),
CONSTRAINT fk_country FOREIGN KEY(country_id) REFERENCES country(id)
);
CREATE TABLE dbo.Municipality(
id int NOT NULL,
department_id int NOT NULL,
name varchar(255) NOT NULL,
CONSTRAINT pk_municipality PRIMARY KEY(id),
CONSTRAINT fk_department FOREIGN KEY(department_id) REFERENCES department(id)
);
CREATE TABLE dbo.Means(
id int NOT NULL,
name varchar(255) NOT NULL,
CONSTRAINT pk_means PRIMARY KEY(id)
);
CREATE TABLE dbo.Dependence(
id int NOT NULL,
code int NOT NULL,
name varchar(255) NOT NULL,
CONSTRAINT pk_dependence PRIMARY KEY(id)
);
CREATE TABLE dbo.Document_type(
id int NOT NULL,
name varchar(255) NOT NULL,
CONSTRAINT pk_document_type PRIMARY KEY(id)
);
CREATE TABLE dbo.Documents(
id int NOT NULL,
name varchar(255) NOT NULL,
document_name varchar(255) NOT NULL,
created_at varchar(255),
CONSTRAINT pk_documents PRIMARY KEY(id)
);
CREATE TABLE dbo.User_clasification(
id int NOT NULL,
name varchar(255) NOT NULL,
CONSTRAINT pk_user_clasification PRIMARY KEY(id)
);
CREATE TABLE dbo.App_users(
id int NOT NULL,
user_clasification_id int NOT NULL,
name varchar(255) NOT NULL,
surname varchar(255) NOT NULL,
second_surname varchar(255),
phone varchar(12),
address varchar(255),
mail varchar(255)
CONSTRAINT pk_app_users PRIMARY KEY(id),
CONSTRAINT fk_user_clasification FOREIGN KEY(user_clasification_id) REFERENCES user_clasification(id)
);
CREATE TABLE dbo.Filed_in(
id int NOT NULL,
app_users_id int NOT NULL,
country_id int NOT NULL,
department_id int NOT NULL,
municipality_id int NOT NULL,
means_id int NOT NULL,
dependence_id int NOT NULL,
document_type_id int NOT NULL,
documents_id int NOT NULL,
subject text NOT NULL,
CONSTRAINT pk_field_in PRIMARY KEY(id),
CONSTRAINT fk_app_users FOREIGN KEY(app_users_id) REFERENCES app_users(id),
CONSTRAINT fk_country_filed FOREIGN KEY(country_id) REFERENCES country(id),
CONSTRAINT fk_department_filed FOREIGN KEY(department_id) REFERENCES department(id),
CONSTRAINT fk_municipality_filed FOREIGN KEY(municipality_id) REFERENCES municipality(id),
CONSTRAINT fk_means_filed FOREIGN KEY(means_id) REFERENCES means(id),
CONSTRAINT fk_dependence_filed FOREIGN KEY(dependence_id) REFERENCES dependence(id),
CONSTRAINT fk_document_type_filed FOREIGN KEY(document_type_id) REFERENCES document_type(id),
CONSTRAINT fk_documents_filed FOREIGN KEY(documents_id) REFERENCES documents(id)
);
GO |
<gh_stars>0
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_diffgleichungen_1_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_ldgs'
AND contained_in=section_id_for_path(0, 'content/tub/differential_equations/problems/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_diffgleichungen_1_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_ldgs'
AND contained_in=section_id_for_path(0, 'content/tub/differential_equations/problems/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="p_1">
<data name="coefficient_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="rational" mf:type="number">-1</mn>
</data>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_diffgleichungen_1_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_exponential_funktion'
AND contained_in=section_id_for_path(0, 'content/tub/differential_equations/problems/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_diffgleichungen_1_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_exponential_funktion'
AND contained_in=section_id_for_path(0, 'content/tub/differential_equations/problems/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<data name="m">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_gauss_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_inverse'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_gauss_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_inverse'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="matrices">
<unit name="matrix_1">
<data name="coefficent_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-9</mn>
</data>
<data name="coefficent_13">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-4</mn>
</data>
<data name="coefficent_22">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">4</mn>
</data>
<data name="coefficent_31">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">3</mn>
</data>
<data name="coefficent_32">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">9</mn>
</data>
</unit>
<unit name="matrix_2">
<data name="coefficent_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">5</mn>
</data>
<data name="coefficent_12">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">7</mn>
</data>
<data name="coefficent_13">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-9</mn>
</data>
<data name="coefficent_21">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-10</mn>
</data>
<data name="coefficent_22">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">6</mn>
</data>
<data name="coefficent_23">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-3</mn>
</data>
<data name="coefficent_32">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">7</mn>
</data>
<data name="coefficent_33">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">6</mn>
</data>
</unit>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_gauss_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_inverse'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_gauss_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_inverse'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">2</data></unit><unit name="subtask_1"><data name="a_matrix"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="rational" mf:label="A^{-1} =" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="rational" mf:type="number">0</mn>
</mtd>
<mtd>
<mfrac mf:field="rational" mf:type="number"><mn mf:field="int" mf:type="number">-3</mn><mn mf:field="int" mf:type="number">4</mn></mfrac>
</mtd>
<mtd>
<mfrac mf:field="rational" mf:type="number"><mn mf:field="int" mf:type="number">1</mn><mn mf:field="int" mf:type="number">3</mn></mfrac>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="rational" mf:type="number">0</mn>
</mtd>
<mtd>
<mfrac mf:field="rational" mf:type="number"><mn mf:field="int" mf:type="number">1</mn><mn mf:field="int" mf:type="number">4</mn></mfrac>
</mtd>
<mtd>
<mn mf:field="rational" mf:type="number">0</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mfrac mf:field="rational" mf:type="number"><mn mf:field="int" mf:type="number">-1</mn><mn mf:field="int" mf:type="number">4</mn></mfrac>
</mtd>
<mtd>
<mfrac mf:field="rational" mf:type="number"><mn mf:field="int" mf:type="number">27</mn><mn mf:field="int" mf:type="number">16</mn></mfrac>
</mtd>
<mtd>
<mfrac mf:field="rational" mf:type="number"><mn mf:field="int" mf:type="number">-3</mn><mn mf:field="int" mf:type="number">4</mn></mfrac>
</mtd>
</mtr>
</mtable></data></unit><unit name="subtask_2"><data name="b_matrix"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="rational" mf:label="B^{-1} =" mf:type="matrix">
<mtr>
<mtd>
<mfrac mf:field="rational" mf:type="number"><mn mf:field="int" mf:type="number">19</mn><mn mf:field="int" mf:type="number">445</mn></mfrac>
</mtd>
<mtd>
<mfrac mf:field="rational" mf:type="number"><mn mf:field="int" mf:type="number">-7</mn><mn mf:field="int" mf:type="number">89</mn></mfrac>
</mtd>
<mtd>
<mfrac mf:field="rational" mf:type="number"><mn mf:field="int" mf:type="number">11</mn><mn mf:field="int" mf:type="number">445</mn></mfrac>
</mtd>
</mtr>
<mtr>
<mtd>
<mfrac mf:field="rational" mf:type="number"><mn mf:field="int" mf:type="number">4</mn><mn mf:field="int" mf:type="number">89</mn></mfrac>
</mtd>
<mtd>
<mfrac mf:field="rational" mf:type="number"><mn mf:field="int" mf:type="number">2</mn><mn mf:field="int" mf:type="number">89</mn></mfrac>
</mtd>
<mtd>
<mfrac mf:field="rational" mf:type="number"><mn mf:field="int" mf:type="number">7</mn><mn mf:field="int" mf:type="number">89</mn></mfrac>
</mtd>
</mtr>
<mtr>
<mtd>
<mfrac mf:field="rational" mf:type="number"><mn mf:field="int" mf:type="number">-14</mn><mn mf:field="int" mf:type="number">267</mn></mfrac>
</mtd>
<mtd>
<mfrac mf:field="rational" mf:type="number"><mn mf:field="int" mf:type="number">-7</mn><mn mf:field="int" mf:type="number">267</mn></mfrac>
</mtd>
<mtd>
<mfrac mf:field="rational" mf:type="number"><mn mf:field="int" mf:type="number">20</mn><mn mf:field="int" mf:type="number">267</mn></mfrac>
</mtd>
</mtr>
</mtable></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_gauss_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_nzsf-loesungsmenge'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_gauss_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_nzsf-loesungsmenge'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="matrix_A1">
<data name="switch">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<unit name="matrix1">
<data name="coefficient_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">0</mn>
</data>
<data name="coefficient_14">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
<data name="coefficient_15">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
<data name="coefficient_24">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="coefficient_25">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
</unit>
<unit name="matrix2">
<data name="coefficient_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-2</mn>
</data>
<data name="coefficient_21">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
<data name="coefficient_22">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="coefficient_31">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
<data name="coefficient_32">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="coefficient_33">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-2</mn>
</data>
</unit>
</unit>
<unit name="matrix_A2">
<data name="switch">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">4</mn>
</data>
<unit name="matrix1">
<data name="coefficient_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">0</mn>
</data>
<data name="coefficient_14">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
<data name="coefficient_15">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
<data name="coefficient_22">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
<data name="coefficient_25">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
<data name="coefficient_35">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
</unit>
<unit name="matrix2">
<data name="coefficient_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
<data name="coefficient_21">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-2</mn>
</data>
<data name="coefficient_22">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
<data name="coefficient_31">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="coefficient_32">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="coefficient_33">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
</unit>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_gauss_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_nzsf-loesungsmenge'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_gauss_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_nzsf-loesungsmenge'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">4</data></unit><unit name="subtask_1"><data name="nzsf"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="rational" mf:label="NZSF ( [A_1|\\vec{b_1}] ) = " mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="rational" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="rational" mf:type="number">1</mn>
</mtd>
<mtd>
<mn mf:field="rational" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="rational" mf:type="number">-1</mn>
</mtd>
<mtd>
<mn mf:field="rational" mf:type="number">2</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="rational" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="rational" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="rational" mf:type="number">1</mn>
</mtd>
<mtd>
<mn mf:field="rational" mf:type="number">1</mn>
</mtd>
<mtd>
<mn mf:field="rational" mf:type="number">2</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="rational" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="rational" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="rational" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="rational" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="rational" mf:type="number">-4</mn>
</mtd>
</mtr>
</mtable></data></unit><unit name="subtask_2"><data name="solutionSelection"><mn xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:hidden="true" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">1</mn></data><data name="dummySelection"><mtext xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="string" mf:type="text" xmlns="http://www.w3.org/1998/Math/MathML">Das lineare Gleichungssystem hat keine Loesung.</mtext></data><data name="set"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="tuple-set" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="rational" mf:label="L = " mf:type="tuple-set"><mo>{</mo><mo>}</mo></mrow></data></unit><unit name="subtask_3"><data name="nzsf"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="rational" mf:label="NZSF ( [A_2|\\vec{b_2}] ) = " mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="rational" mf:type="number">1</mn>
</mtd>
<mtd>
<mn mf:field="rational" mf:type="number">0</mn>
</mtd>
<mtd>
<mfrac mf:field="rational" mf:type="number"><mn mf:field="int" mf:type="number">1</mn><mn mf:field="int" mf:type="number">2</mn></mfrac>
</mtd>
<mtd>
<mn mf:field="rational" mf:type="number">0</mn>
</mtd>
<mtd>
<mfrac mf:field="rational" mf:type="number"><mn mf:field="int" mf:type="number">-1</mn><mn mf:field="int" mf:type="number">2</mn></mfrac>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="rational" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="rational" mf:type="number">1</mn>
</mtd>
<mtd>
<mfrac mf:field="rational" mf:type="number"><mn mf:field="int" mf:type="number">1</mn><mn mf:field="int" mf:type="number">2</mn></mfrac>
</mtd>
<mtd>
<mn mf:field="rational" mf:type="number">0</mn>
</mtd>
<mtd>
<mfrac mf:field="rational" mf:type="number"><mn mf:field="int" mf:type="number">-3</mn><mn mf:field="int" mf:type="number">2</mn></mfrac>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="rational" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="rational" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="rational" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="rational" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="rational" mf:type="number">-11</mn>
</mtd>
</mtr>
</mtable></data></unit><unit name="subtask_4"><data name="solutionSelection"><mn xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:hidden="true" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">1</mn></data><data name="dummySelection"><mtext xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="string" mf:type="text" xmlns="http://www.w3.org/1998/Math/MathML">Das lineare Gleichungssystem hat keine Loesung.</mtext></data><data name="set"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="tuple-set" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="rational" mf:label="L = " mf:type="tuple-set"><mo>{</mo><mo>}</mo></mrow></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_gauss_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_bild-kern_mc'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_gauss_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_bild-kern_mc'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="matrix">
<data name="coefficient_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-5</mn>
</data>
<data name="coefficient_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">5</mn>
</data>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_gauss_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_bild-kern_mc'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_gauss_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_bild-kern_mc'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="choices-3"><data name="choice-3">false</data><data name="choice-2">false</data><data name="choice-1">false</data></unit><unit name="choices-2"><data name="choice-3">true</data><data name="choice-2">false</data><data name="choice-1">false</data><data name="choice-4">false</data></unit><unit name="choices-1"><data name="choice-3">true</data><data name="choice-2">false</data><data name="choice-1">false</data><data name="choice-4">false</data></unit><unit name="choices-4"><data name="choice-3">false</data><data name="choice-2">false</data><data name="choice-1">false</data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_koordinaten-abbildung_darstellende-matrizen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_koordinatenabbildung'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_koordinaten-abbildung_darstellende-matrizen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_koordinatenabbildung'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<data name="coefficient">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-8</mn>
</data>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_koordinaten-abbildung_darstellende-matrizen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_koordinatenabbildung'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_koordinaten-abbildung_darstellende-matrizen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_koordinatenabbildung'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">1</data></unit><unit name="subtask_1"><data name="dimension"><mn xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:label="n =" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">2</mn></data><data name="vector"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:type="vector">
<mrow mf:field="real" mf:type="op-number"><mrow><mo>(</mo><mrow><mo>-</mo><mi>a</mi></mrow><mo>)</mo><mo>+</mo><mi>b</mi></mrow></mrow>
<mrow mf:field="real" mf:type="op-number"><mrow><mo>(</mo><mrow><mfrac><mrow><mn mf:field="real" mf:type="number">7</mn><mo>*</mo><mi>a</mi></mrow><mrow><mn mf:field="real" mf:type="number">8</mn></mrow></mfrac></mrow><mo>)</mo><mo>-</mo><mo>(</mo><mi>b</mi><mo>)</mo></mrow></mrow>
</mrow></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_koordinaten-abbildung_darstellende-matrizen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_koordinatenvektoren'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_koordinaten-abbildung_darstellende-matrizen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_koordinatenvektoren'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="vector">
<data name="component_1">
<mfrac xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="rational" mf:type="number"><mn mf:field="int" mf:type="number">1</mn><mn mf:field="int" mf:type="number">2</mn></mfrac>
</data>
<data name="component_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="rational" mf:type="number">-2</mn>
</data>
</unit>
<unit name="basis_1">
<data name="component_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">4</mn>
</data>
<data name="component_12">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
<data name="component_21">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">0</mn>
</data>
<data name="component_22">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
</unit>
<unit name="basis_2">
<data name="component_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-4</mn>
</data>
<data name="component_12">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">4</mn>
</data>
<data name="component_21">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">3</mn>
</data>
<data name="component_22">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_koordinaten-abbildung_darstellende-matrizen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_koordinatenvektoren'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_koordinaten-abbildung_darstellende-matrizen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_koordinatenvektoren'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">3</data></unit><unit name="subtask_1"><data name="coordsvector"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="\\vec{v}_{BStandard} = " mf:type="vector">
<mrow mf:field="real" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="real" mf:type="number">1</mn></mrow><mrow><mn mf:field="real" mf:type="number">2</mn></mrow></mfrac></mrow></mrow>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">-2</mn></mrow>
</mrow></data></unit><unit name="subtask_2"><data name="coordsvector"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="\\vec{v}_{B1} = " mf:type="vector">
<mrow mf:field="real" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="real" mf:type="number">1</mn></mrow><mrow><mn mf:field="real" mf:type="number">8</mn></mrow></mfrac></mrow></mrow>
<mrow mf:field="real" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="real" mf:type="number">-9</mn></mrow><mrow><mn mf:field="real" mf:type="number">4</mn></mrow></mfrac></mrow></mrow>
</mrow></data></unit><unit name="subtask_3"><data name="coordsvector"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="\\vec{v}_{B2} = " mf:type="vector">
<mrow mf:field="real" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="real" mf:type="number">-13</mn></mrow><mrow><mn mf:field="real" mf:type="number">32</mn></mrow></mfrac></mrow></mrow>
<mrow mf:field="real" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="real" mf:type="number">-3</mn></mrow><mrow><mn mf:field="real" mf:type="number">8</mn></mrow></mfrac></mrow></mrow>
</mrow></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_koordinaten-abbildung_darstellende-matrizen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_darstellende-matrix_eulerableitung'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_koordinaten-abbildung_darstellende-matrizen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_darstellende-matrix_eulerableitung'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="basis">
<unit name="polynom_1">
<data name="coefficint_0">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">5</mn>
</data>
<data name="coefficint_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">6</mn>
</data>
<data name="coefficint_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">6</mn>
</data>
</unit>
<unit name="polynom_2">
<data name="coefficint_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">4</mn>
</data>
<data name="coefficint_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">5</mn>
</data>
</unit>
<unit name="polynom_3">
<data name="coefficint_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-4</mn>
</data>
</unit>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_koordinaten-abbildung_darstellende-matrizen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_darstellende-matrix_eulerableitung'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_koordinaten-abbildung_darstellende-matrizen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_darstellende-matrix_eulerableitung'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">1</data></unit><unit name="subtask_1"><data name="matrix"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="L_B = " mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="real" mf:type="number">3</mn></mrow><mrow><mn mf:field="real" mf:type="number">2</mn></mrow></mfrac></mrow></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mrow><mo>-</mo><mrow><mfrac><mrow><mn mf:field="real" mf:type="number">9</mn></mrow><mrow><mn mf:field="real" mf:type="number">8</mn></mrow></mfrac></mrow></mrow></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="real" mf:type="number">-5</mn></mrow><mrow><mn mf:field="real" mf:type="number">4</mn></mrow></mfrac></mrow></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">2</mn></mrow>
</mtd>
</mtr>
</mtable></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_lineare_abbildungen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_komposition_von_abbildungen'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_lineare_abbildungen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_komposition_von_abbildungen'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<data name="type">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
<data name="switch">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="coefficient1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-2</mn>
</data>
<data name="coefficient2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">3</mn>
</data>
<data name="coefficient3">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-2</mn>
</data>
<data name="coefficient4">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">3</mn>
</data>
<data name="p1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
<data name="p2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="q1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-2</mn>
</data>
<data name="q2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
<data name="r1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-2</mn>
</data>
<data name="r2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-2</mn>
</data>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_lineare_abbildungen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_komposition_von_abbildungen'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_lineare_abbildungen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_komposition_von_abbildungen'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">3</data></unit><unit name="subtask_1"><data name="validationCheck1"><mn xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:hidden="true" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">2</mn></data><data name="validationCheck2"><mn xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:hidden="true" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">1</mn></data><data name="vector"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="G(p) =" mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="rational" mf:type="op-number"><mn mf:field="rational" mf:type="number">-2</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="rational" mf:type="op-number"><mn mf:field="rational" mf:type="number">2</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="rational" mf:type="op-number"><mn mf:field="rational" mf:type="number">1</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="rational" mf:type="op-number"><mn mf:field="rational" mf:type="number">0</mn></mrow>
</mtd>
</mtr>
</mtable></data></unit><unit name="subtask_2"><data name="validationCheck1"><mn xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:hidden="true" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">2</mn></data><data name="validationCheck2"><mn xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:hidden="true" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">1</mn></data><data name="vector"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="F(q) =" mf:type="vector">
<mrow mf:field="rational" mf:type="op-number"><mn mf:field="rational" mf:type="number">0</mn></mrow>
<mrow mf:field="rational" mf:type="op-number"><mn mf:field="rational" mf:type="number">-2</mn></mrow>
<mrow mf:field="rational" mf:type="op-number"><mn mf:field="rational" mf:type="number">0</mn></mrow>
</mrow></data></unit><unit name="subtask_3"><data name="validationCheck1"><mn xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:hidden="true" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">2</mn></data><data name="validationCheck2"><mn xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:hidden="true" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">1</mn></data><data name="selection_dummy"><mtext xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="string" mf:type="text" xmlns="http://www.w3.org/1998/Math/MathML">Eine moegliche Abbildungskomposition ist: G ∘ F</mtext></data><data name="selectionType_dummy"><mtext xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="string" mf:type="text" xmlns="http://www.w3.org/1998/Math/MathML">Es wird in den ℝ^3 abgebildet.</mtext></data><data name="selection"><mn xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:hidden="true" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">2</mn></data><data name="selectedType"><mn xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:hidden="true" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">2</mn></data><data name="vector"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="(G ∘ F)(r) =" mf:type="vector">
<mrow mf:field="rational" mf:type="op-number"><mn mf:field="rational" mf:type="number">4</mn></mrow>
<mrow mf:field="rational" mf:type="op-number"><mn mf:field="rational" mf:type="number">2</mn></mrow>
<mrow mf:field="rational" mf:type="op-number"><mn mf:field="rational" mf:type="number">-6</mn></mrow>
</mrow></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_lineare_abbildungen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_lineare_abbildungen_konzepte1'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_lineare_abbildungen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_lineare_abbildungen_konzepte1'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<data name="coefficient">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">5</mn>
</data>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_lineare_abbildungen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_lineare_abbildungen_konzepte1'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_lineare_abbildungen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_lineare_abbildungen_konzepte1'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">5</data></unit><unit name="subtask_1"><data name="matrix_A"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="A = " mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">2</mn></mrow>
</mtd>
</mtr>
</mtable></data><data name="matrix_B"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="B = " mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
</mtr>
</mtable></data></unit><unit name="subtask_2"><data name="matrix_A"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="A = " mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">2</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">2</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
</mtr>
</mtable></data><data name="matrix_B"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="B = " mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">2</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">2</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
</mtr>
</mtable></data></unit><unit name="subtask_3"><data name="matrix_A"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="A = " mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">2</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">2</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
</mtr>
</mtable></data><data name="matrix_B"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="B = " mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">2</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">2</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
</mtr>
</mtable></data></unit><unit name="subtask_4"><data name="matrix_A"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="A = " mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">2</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
</mtr>
</mtable></data><data name="matrix_B"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="B = " mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
</mtr>
</mtable></data></unit><unit name="subtask_5"><data name="matrix_A"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="A = " mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">2</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
</mtr>
</mtable></data><data name="matrix_B"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="B = " mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
</mtr>
</mtable></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_lineare_abbildungen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_inverse_abbildung'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_lineare_abbildungen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_inverse_abbildung'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="coefficients">
<data name="coefficient_3">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">13</mn>
</data>
<data name="coefficient_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">12</mn>
</data>
<data name="coefficient_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">7</mn>
</data>
<data name="coefficient_0">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">4</mn>
</data>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_lineare_abbildungen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_inverse_abbildung'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_lineare_abbildungen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_inverse_abbildung'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">1</data></unit><unit name="subtask_1"><data name="inverse_map"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="T^{-1}(kx^3+lx^2+mx+n) = " mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mrow><mfrac><mrow><mi>k</mi></mrow><mrow><mn mf:field="real" mf:type="number">13</mn></mrow></mfrac></mrow></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mrow><mfrac><mrow><mi>l</mi></mrow><mrow><mn mf:field="real" mf:type="number">12</mn></mrow></mfrac></mrow></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mrow><mfrac><mrow><mi>m</mi></mrow><mrow><mn mf:field="real" mf:type="number">7</mn></mrow></mfrac></mrow></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mrow><mfrac><mrow><mi>n</mi></mrow><mrow><mn mf:field="real" mf:type="number">4</mn></mrow></mfrac></mrow></mrow>
</mtd>
</mtr>
</mtable></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_matrizen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_multiplikation_von_matrizen'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_matrizen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_multiplikation_von_matrizen'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="matrices">
<unit name="matrix_1">
<data name="coefficient_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
<data name="coefficient_12">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-10</mn>
</data>
<data name="coefficient_13">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">4</mn>
</data>
<data name="coefficient_21">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-8</mn>
</data>
<data name="coefficient_22">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">4</mn>
</data>
<data name="coefficient_23">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
</unit>
<unit name="matrix_2">
<data name="coefficient_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-9</mn>
</data>
<data name="coefficient_12">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">5</mn>
</data>
<data name="coefficient_21">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-3</mn>
</data>
<data name="coefficient_22">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-7</mn>
</data>
</unit>
<unit name="matrix_3">
<data name="coefficient_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">5</mn>
</data>
<data name="coefficient_12">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">8</mn>
</data>
<data name="coefficient_21">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">4</mn>
</data>
<data name="coefficient_22">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-5</mn>
</data>
</unit>
<unit name="matrix_4">
<data name="coefficient_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">9</mn>
</data>
<data name="coefficient_12">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-5</mn>
</data>
<data name="coefficient_21">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-2</mn>
</data>
<data name="coefficient_22">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-3</mn>
</data>
<data name="coefficient_31">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">5</mn>
</data>
<data name="coefficient_32">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">4</mn>
</data>
</unit>
<unit name="matrix_5">
<data name="coefficient_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">9</mn>
</data>
<data name="coefficient_12">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">8</mn>
</data>
<data name="coefficient_13">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-8</mn>
</data>
<data name="coefficient_21">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">7</mn>
</data>
<data name="coefficient_22">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">7</mn>
</data>
<data name="coefficient_23">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
</unit>
<unit name="matrix_6">
<data name="coefficient_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">0</mn>
</data>
<data name="coefficient_12">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-5</mn>
</data>
<data name="coefficient_13">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">6</mn>
</data>
</unit>
<unit name="matrix_7">
<data name="coefficient_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-2</mn>
</data>
<data name="coefficient_21">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">7</mn>
</data>
</unit>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_matrizen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_multiplikation_von_matrizen'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_matrizen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_multiplikation_von_matrizen'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">4</data><unit name="subtask_3"><data name="selectedMatrix_1"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:type="matrix">
<mtr>
<mtd align="center">
<mn mf:field="int" mf:type="number">9</mn>
</mtd>
<mtd align="center">
<mn mf:field="int" mf:type="number">-5</mn>
</mtd>
</mtr>
<mtr>
<mtd align="center">
<mn mf:field="int" mf:type="number">-2</mn>
</mtd>
<mtd align="center">
<mn mf:field="int" mf:type="number">-3</mn>
</mtd>
</mtr>
<mtr>
<mtd align="center">
<mn mf:field="int" mf:type="number">5</mn>
</mtd>
<mtd align="center">
<mn mf:field="int" mf:type="number">4</mn>
</mtd>
</mtr>
</mtable></data><data name="selectedMatrix_2"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:type="matrix">
<mtr>
<mtd align="center">
<mn mf:field="int" mf:type="number">-2</mn>
</mtd>
</mtr>
<mtr>
<mtd align="center">
<mn mf:field="int" mf:type="number">7</mn>
</mtd>
</mtr>
</mtable></data></unit><unit name="subtask_2"><data name="selectedMatrix_1"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:type="matrix">
<mtr>
<mtd align="center">
<mn mf:field="int" mf:type="number">-9</mn>
</mtd>
<mtd align="center">
<mn mf:field="int" mf:type="number">5</mn>
</mtd>
</mtr>
<mtr>
<mtd align="center">
<mn mf:field="int" mf:type="number">-3</mn>
</mtd>
<mtd align="center">
<mn mf:field="int" mf:type="number">-7</mn>
</mtd>
</mtr>
</mtable></data><data name="selectedMatrix_2"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:type="matrix">
<mtr>
<mtd align="center">
<mn mf:field="int" mf:type="number">2</mn>
</mtd>
<mtd align="center">
<mn mf:field="int" mf:type="number">-10</mn>
</mtd>
<mtd align="center">
<mn mf:field="int" mf:type="number">4</mn>
</mtd>
</mtr>
<mtr>
<mtd align="center">
<mn mf:field="int" mf:type="number">-8</mn>
</mtd>
<mtd align="center">
<mn mf:field="int" mf:type="number">4</mn>
</mtd>
<mtd align="center">
<mn mf:field="int" mf:type="number">1</mn>
</mtd>
</mtr>
</mtable></data></unit><unit name="subtask_4"><data name="selectedMatrix_1"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:type="matrix">
<mtr>
<mtd align="center">
<mn mf:field="int" mf:type="number">5</mn>
</mtd>
<mtd align="center">
<mn mf:field="int" mf:type="number">8</mn>
</mtd>
</mtr>
<mtr>
<mtd align="center">
<mn mf:field="int" mf:type="number">4</mn>
</mtd>
<mtd align="center">
<mn mf:field="int" mf:type="number">-5</mn>
</mtd>
</mtr>
</mtable></data><data name="selectedMatrix_2"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:type="matrix">
<mtr>
<mtd align="center">
<mn mf:field="int" mf:type="number">9</mn>
</mtd>
<mtd align="center">
<mn mf:field="int" mf:type="number">8</mn>
</mtd>
<mtd align="center">
<mn mf:field="int" mf:type="number">-8</mn>
</mtd>
</mtr>
<mtr>
<mtd align="center">
<mn mf:field="int" mf:type="number">7</mn>
</mtd>
<mtd align="center">
<mn mf:field="int" mf:type="number">7</mn>
</mtd>
<mtd align="center">
<mn mf:field="int" mf:type="number">1</mn>
</mtd>
</mtr>
</mtable></data></unit></unit><unit name="subtask_1"><data name="format_A1"><mrow xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:label="Format von A_1:" mf:type="dimension"><mn mf:field="int" mf:type="number">2</mn>x<mn mf:field="int" mf:type="number">3</mn></mrow></data><data name="format_A2"><mrow xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:label="Format von A_2:" mf:type="dimension"><mn mf:field="int" mf:type="number">2</mn>x<mn mf:field="int" mf:type="number">2</mn></mrow></data><data name="format_A3"><mrow xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:label="Format von A_3:" mf:type="dimension"><mn mf:field="int" mf:type="number">2</mn>x<mn mf:field="int" mf:type="number">2</mn></mrow></data><data name="format_A4"><mrow xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:label="Format von A_4:" mf:type="dimension"><mn mf:field="int" mf:type="number">3</mn>x<mn mf:field="int" mf:type="number">2</mn></mrow></data><data name="format_A5"><mrow xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:label="Format von A_5:" mf:type="dimension"><mn mf:field="int" mf:type="number">2</mn>x<mn mf:field="int" mf:type="number">3</mn></mrow></data><data name="format_A6"><mrow xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:label="Format von A_6:" mf:type="dimension"><mn mf:field="int" mf:type="number">1</mn>x<mn mf:field="int" mf:type="number">3</mn></mrow></data><data name="format_A7"><mrow xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:label="Format von A_7:" mf:type="dimension"><mn mf:field="int" mf:type="number">2</mn>x<mn mf:field="int" mf:type="number">1</mn></mrow></data></unit><unit name="subtask_3"><data name="matrix_1"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:hidden="true" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="real" mf:type="number">9</mn>
</mtd>
<mtd>
<mn mf:field="real" mf:type="number">-5</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="real" mf:type="number">-2</mn>
</mtd>
<mtd>
<mn mf:field="real" mf:type="number">-3</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="real" mf:type="number">5</mn>
</mtd>
<mtd>
<mn mf:field="real" mf:type="number">4</mn>
</mtd>
</mtr>
</mtable></data><data name="selectedMatrix_1">common/problem/matrices/matrix_4</data><data name="matrix_2"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:hidden="true" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="real" mf:type="number">9</mn>
</mtd>
<mtd>
<mn mf:field="real" mf:type="number">-5</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="real" mf:type="number">-2</mn>
</mtd>
<mtd>
<mn mf:field="real" mf:type="number">-3</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="real" mf:type="number">5</mn>
</mtd>
<mtd>
<mn mf:field="real" mf:type="number">4</mn>
</mtd>
</mtr>
</mtable></data><data name="selectedMatrix_2">common/problem/matrices/matrix_7</data><data name="matrix_sum"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="Matrixprodukt: " mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">-53</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">-17</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">18</mn></mrow>
</mtd>
</mtr>
</mtable></data></unit><unit name="subtask_2"><data name="matrix_1"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:hidden="true" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="real" mf:type="number">-9</mn>
</mtd>
<mtd>
<mn mf:field="real" mf:type="number">5</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="real" mf:type="number">-3</mn>
</mtd>
<mtd>
<mn mf:field="real" mf:type="number">-7</mn>
</mtd>
</mtr>
</mtable></data><data name="selectedMatrix_1">common/problem/matrices/matrix_2</data><data name="matrix_2"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:hidden="true" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="real" mf:type="number">-9</mn>
</mtd>
<mtd>
<mn mf:field="real" mf:type="number">5</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="real" mf:type="number">-3</mn>
</mtd>
<mtd>
<mn mf:field="real" mf:type="number">-7</mn>
</mtd>
</mtr>
</mtable></data><data name="selectedMatrix_2">common/problem/matrices/matrix_1</data><data name="matrix_sum"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="Matrixprodukt: " mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">-58</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">110</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">-31</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">50</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">2</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">-19</mn></mrow>
</mtd>
</mtr>
</mtable></data></unit><unit name="subtask_4"><data name="matrix_1"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:hidden="true" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="real" mf:type="number">5</mn>
</mtd>
<mtd>
<mn mf:field="real" mf:type="number">8</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="real" mf:type="number">4</mn>
</mtd>
<mtd>
<mn mf:field="real" mf:type="number">-5</mn>
</mtd>
</mtr>
</mtable></data><data name="selectedMatrix_1">common/problem/matrices/matrix_3</data><data name="matrix_2"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:hidden="true" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="real" mf:type="number">5</mn>
</mtd>
<mtd>
<mn mf:field="real" mf:type="number">8</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="real" mf:type="number">4</mn>
</mtd>
<mtd>
<mn mf:field="real" mf:type="number">-5</mn>
</mtd>
</mtr>
</mtable></data><data name="selectedMatrix_2">common/problem/matrices/matrix_5</data><data name="matrix_sum"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="Matrixprodukt: " mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">101</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">96</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">-32</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">-3</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">-37</mn></mrow>
</mtd>
</mtr>
</mtable></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_matrizen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_matrix_typen'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_matrizen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_matrix_typen'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="matrices">
<unit name="matrix_1">
<data name="coefficient_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-5</mn>
</data>
<data name="coefficient_12">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">0</mn>
</data>
<data name="coefficient_13">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">9</mn>
</data>
<data name="coefficient_22">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-10</mn>
</data>
<data name="coefficient_23">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">8</mn>
</data>
<data name="coefficient_33">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-5</mn>
</data>
</unit>
<unit name="matrix_2">
<data name="coefficient_21">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">8</mn>
</data>
<data name="coefficient_22">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="coefficient_23">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-8</mn>
</data>
</unit>
<unit name="matrix_3">
<data name="coefficient_31">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">9</mn>
</data>
<data name="coefficient_32">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
<data name="coefficient_33">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
</unit>
<unit name="matrix_5">
<data name="coefficient_12">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">9</mn>
</data>
</unit>
<unit name="matrix_4">
<data name="coefficient_42">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">4</mn>
</data>
</unit>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_matrizen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_matrix_typen'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_matrizen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_matrix_typen'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">4</data></unit><unit name="subtask_1"><data name="matrix1"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">-5</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">9</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">-10</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">8</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">9</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">8</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">-5</mn>
</mtd>
</mtr>
</mtable></data><data name="tmp1"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:hidden="true" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">-5</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">9</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mi mf:field="complex" mf:type="number"/>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">-10</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">8</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mi mf:field="complex" mf:type="number"/>
</mtd>
<mtd>
<mi mf:field="complex" mf:type="number"/>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">-5</mn>
</mtd>
</mtr>
</mtable></data><data name="matrix2"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">8</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">1</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">8</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">3</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">1</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">3</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">-8</mn>
</mtd>
</mtr>
</mtable></data><data name="tmp2"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:hidden="true" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
<mtd>
<mi mf:field="complex" mf:type="number"/>
</mtd>
<mtd>
<mi mf:field="complex" mf:type="number"/>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">8</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
<mtd>
<mi mf:field="complex" mf:type="number"/>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">1</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">3</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">-8</mn>
</mtd>
</mtr>
</mtable></data><data name="matrix3"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">1</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">9</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">9</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">1</mn>
</mtd>
</mtr>
</mtable></data><data name="tmp3"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:hidden="true" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">1</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">9</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mi mf:field="complex" mf:type="number"/>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">1</mn>
</mtd>
</mtr>
</mtable></data><data name="matrix4"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
<mtd>
<cnum xmlns="http://www.mumie.net/xml-namespace/mathml-ext" mf:field="complex" mf:type="number"><mn mf:field="real" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">1</mn><mn mf:field="real" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">4</mn></cnum>
</mtd>
</mtr>
<mtr>
<mtd>
<cnum xmlns="http://www.mumie.net/xml-namespace/mathml-ext" mf:field="complex" mf:type="number"><mn mf:field="real" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">1</mn><mn mf:field="real" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">4</mn></cnum>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
</mtr>
</mtable></data><data name="tmp4"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:hidden="true" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
<mtd>
<cnum xmlns="http://www.mumie.net/xml-namespace/mathml-ext" mf:field="complex" mf:type="number"><mn mf:field="real" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">1</mn><mn mf:field="real" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">4</mn></cnum>
</mtd>
</mtr>
<mtr>
<mtd>
<mi mf:field="complex" mf:type="number"/>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
</mtr>
</mtable></data></unit><unit name="subtask_2"><data name="matrix1"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">-5</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">9</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">-10</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">8</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">-9</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">-8</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">-5</mn>
</mtd>
</mtr>
</mtable></data><data name="tmp1"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:hidden="true" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">-5</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">9</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mi mf:field="complex" mf:type="number"/>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">-10</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">8</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mi mf:field="complex" mf:type="number"/>
</mtd>
<mtd>
<mi mf:field="complex" mf:type="number"/>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">-5</mn>
</mtd>
</mtr>
</mtable></data><data name="matrix2"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">-8</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">-1</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">8</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">-3</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">1</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">3</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">-8</mn>
</mtd>
</mtr>
</mtable></data><data name="tmp2"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:hidden="true" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
<mtd>
<mi mf:field="complex" mf:type="number"/>
</mtd>
<mtd>
<mi mf:field="complex" mf:type="number"/>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">8</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
<mtd>
<mi mf:field="complex" mf:type="number"/>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">1</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">3</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">-8</mn>
</mtd>
</mtr>
</mtable></data><data name="matrix3"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">1</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">9</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">-9</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">1</mn>
</mtd>
</mtr>
</mtable></data><data name="tmp3"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:hidden="true" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">1</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">9</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mi mf:field="complex" mf:type="number"/>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">1</mn>
</mtd>
</mtr>
</mtable></data><data name="matrix4"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
<mtd>
<cnum xmlns="http://www.mumie.net/xml-namespace/mathml-ext" mf:field="complex" mf:type="number"><mn mf:field="real" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">1</mn><mn mf:field="real" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">4</mn></cnum>
</mtd>
</mtr>
<mtr>
<mtd>
<cnum xmlns="http://www.mumie.net/xml-namespace/mathml-ext" mf:field="complex" mf:type="number"><mn mf:field="real" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">-1</mn><mn mf:field="real" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">-4</mn></cnum>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
</mtr>
</mtable></data><data name="tmp4"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:hidden="true" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
<mtd>
<cnum xmlns="http://www.mumie.net/xml-namespace/mathml-ext" mf:field="complex" mf:type="number"><mn mf:field="real" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">1</mn><mn mf:field="real" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">4</mn></cnum>
</mtd>
</mtr>
<mtr>
<mtd>
<mi mf:field="complex" mf:type="number"/>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
</mtr>
</mtable></data></unit><unit name="subtask_3"><data name="matrix1"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">-5</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">9</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">-10</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">8</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">9</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">8</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">-5</mn>
</mtd>
</mtr>
</mtable></data><data name="tmp1"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:hidden="true" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">-5</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">9</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mi mf:field="complex" mf:type="number"/>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">-10</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">8</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mi mf:field="complex" mf:type="number"/>
</mtd>
<mtd>
<mi mf:field="complex" mf:type="number"/>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">-5</mn>
</mtd>
</mtr>
</mtable></data><data name="matrix2"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">8</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">1</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">8</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">3</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">1</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">3</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">-8</mn>
</mtd>
</mtr>
</mtable></data><data name="tmp2"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:hidden="true" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
<mtd>
<mi mf:field="complex" mf:type="number"/>
</mtd>
<mtd>
<mi mf:field="complex" mf:type="number"/>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">8</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
<mtd>
<mi mf:field="complex" mf:type="number"/>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">1</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">3</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">-8</mn>
</mtd>
</mtr>
</mtable></data><data name="matrix3"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">1</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">9</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">9</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">1</mn>
</mtd>
</mtr>
</mtable></data><data name="tmp3"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:hidden="true" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">1</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">9</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mi mf:field="complex" mf:type="number"/>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">1</mn>
</mtd>
</mtr>
</mtable></data><data name="matrix4"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
<mtd>
<cnum xmlns="http://www.mumie.net/xml-namespace/mathml-ext" mf:field="complex" mf:type="number"><mn mf:field="real" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">1</mn><mn mf:field="real" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">4</mn></cnum>
</mtd>
</mtr>
<mtr>
<mtd>
<cnum xmlns="http://www.mumie.net/xml-namespace/mathml-ext" mf:field="complex" mf:type="number"><mn mf:field="real" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">1</mn><mn mf:field="real" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">-4</mn></cnum>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
</mtr>
</mtable></data><data name="tmp4"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:hidden="true" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
<mtd>
<cnum xmlns="http://www.mumie.net/xml-namespace/mathml-ext" mf:field="complex" mf:type="number"><mn mf:field="real" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">1</mn><mn mf:field="real" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">4</mn></cnum>
</mtd>
</mtr>
<mtr>
<mtd>
<mi mf:field="complex" mf:type="number"/>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
</mtr>
</mtable></data></unit><unit name="subtask_4"><data name="matrix1"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">-5</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">9</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">-10</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">8</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">-5</mn>
</mtd>
</mtr>
</mtable></data><data name="tmp1"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:hidden="true" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">-5</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">9</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mi mf:field="complex" mf:type="number"/>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">-10</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">8</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mi mf:field="complex" mf:type="number"/>
</mtd>
<mtd>
<mi mf:field="complex" mf:type="number"/>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">-5</mn>
</mtd>
</mtr>
</mtable></data><data name="matrix2"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">1</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">9</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">1</mn>
</mtd>
</mtr>
</mtable></data><data name="tmp2"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:hidden="true" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">1</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">9</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mi mf:field="complex" mf:type="number"/>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">1</mn>
</mtd>
</mtr>
</mtable></data><data name="matrix3"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
<mtd>
<cnum xmlns="http://www.mumie.net/xml-namespace/mathml-ext" mf:field="complex" mf:type="number"><mn mf:field="real" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">1</mn><mn mf:field="real" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">4</mn></cnum>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
</mtr>
</mtable></data><data name="tmp3"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:hidden="true" mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
<mtd>
<cnum xmlns="http://www.mumie.net/xml-namespace/mathml-ext" mf:field="complex" mf:type="number"><mn mf:field="real" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">1</mn><mn mf:field="real" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">4</mn></cnum>
</mtd>
</mtr>
<mtr>
<mtd>
<mi mf:field="complex" mf:type="number"/>
</mtd>
<mtd>
<mn mf:field="complex" mf:type="number">0</mn>
</mtd>
</mtr>
</mtable></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_matrizen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_kern_bild_matrix-abbildung'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_matrizen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_kern_bild_matrix-abbildung'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="vector_1">
<data name="component_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">3</mn>
</data>
<data name="component_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
</unit>
<unit name="vector_2">
<data name="component_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="component_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">0</mn>
</data>
</unit>
<unit name="vector_3">
<data name="component_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
<data name="component_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-4</mn>
</data>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_matrizen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_kern_bild_matrix-abbildung'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_matrizen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_kern_bild_matrix-abbildung'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">1</data></unit><unit name="subtask_1"><data name="matrix_a"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="rational" mf:label="A = " mf:type="matrix">
<mtr>
<mtd>
<mfrac mf:field="rational" mf:type="number"><mn mf:field="int" mf:type="number">1</mn><mn mf:field="int" mf:type="number">8</mn></mfrac>
</mtd>
<mtd>
<mfrac mf:field="rational" mf:type="number"><mn mf:field="int" mf:type="number">-3</mn><mn mf:field="int" mf:type="number">16</mn></mfrac>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="rational" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="rational" mf:type="number">0</mn>
</mtd>
</mtr>
</mtable></data><data name="a_v1"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="rational" mf:label="\\vec{v_1} = " mf:type="vector">
<mn mf:field="rational" mf:type="number">2</mn>
<mn mf:field="rational" mf:type="number">-4</mn>
</mrow></data><data name="a_v2"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="rational" mf:label="\\vec{v_2} = " mf:type="vector">
<mn mf:field="rational" mf:type="number">3</mn>
<mn mf:field="rational" mf:type="number">2</mn>
</mrow></data><data name="a_w1"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="rational" mf:label="\\vec{w_1} = " mf:type="vector">
<mn mf:field="rational" mf:type="number">1</mn>
<mn mf:field="rational" mf:type="number">0</mn>
</mrow></data><data name="a_w2"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="rational" mf:label="\\vec{w_2} = " mf:type="vector">
<mn mf:field="rational" mf:type="number">0</mn>
<mn mf:field="rational" mf:type="number">0</mn>
</mrow></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_koordinaten_basen_in_3-dim_VR'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_koordinaten_basen_in_3-dim_VR'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="basis_1">
<data name="factor_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">0</mn>
</data>
<data name="factor_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">0</mn>
</data>
<unit name="vector_1">
<data name="coefficient_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
<data name="coefficient_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">0</mn>
</data>
<data name="coefficient_3">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
</unit>
<unit name="vector_2">
<data name="coefficient_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">0</mn>
</data>
<data name="coefficient_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
<data name="coefficient_3">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">0</mn>
</data>
</unit>
</unit>
<unit name="vector_v">
<data name="coefficient_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">3</mn>
</data>
<data name="coefficient_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-3</mn>
</data>
<data name="coefficient_3">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
</unit>
<unit name="basis_2">
<data name="factor_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
<data name="factor_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<unit name="vector_1">
<data name="coefficient_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="coefficient_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
<data name="coefficient_3">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
</unit>
<unit name="vector_2">
<data name="coefficient_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
<data name="coefficient_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-2</mn>
</data>
<data name="coefficient_3">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
</unit>
</unit>
<unit name="vector_m">
<data name="coefficient_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-2</mn>
</data>
<data name="coefficient_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="coefficient_3">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-3</mn>
</data>
</unit>
<unit name="basis_3">
<data name="factor_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="factor_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">0</mn>
</data>
<unit name="vector_1">
<data name="coefficient_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="coefficient_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">0</mn>
</data>
<data name="coefficient_3">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
</unit>
<unit name="vector_2">
<data name="coefficient_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="coefficient_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-3</mn>
</data>
<data name="coefficient_3">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">3</mn>
</data>
</unit>
</unit>
<unit name="vector_p">
<data name="coefficient_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-2</mn>
</data>
<data name="coefficient_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
<data name="coefficient_3">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">3</mn>
</data>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_koordinaten_basen_in_3-dim_VR'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_koordinaten_basen_in_3-dim_VR'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">3</data></unit><unit name="subtask_1"><data name="coordVector"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="\\vec{v_{B₁}} = " mf:type="vector">
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">7</mn></mrow><mrow><mn mf:field="rational" mf:type="number">5</mn></mrow></mfrac></mrow></mrow>
<mrow mf:field="rational" mf:type="op-number"><mn mf:field="rational" mf:type="number">3</mn></mrow>
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">-1</mn></mrow><mrow><mn mf:field="rational" mf:type="number">5</mn></mrow></mfrac></mrow></mrow>
</mrow></data></unit><unit name="subtask_2"><data name="coordVector"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="\\vec{M_{B₂}} = " mf:type="vector">
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">-1</mn></mrow><mrow><mn mf:field="rational" mf:type="number">28</mn></mrow></mfrac></mrow></mrow>
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">-5</mn></mrow><mrow><mn mf:field="rational" mf:type="number">4</mn></mrow></mfrac></mrow></mrow>
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">5</mn></mrow><mrow><mn mf:field="rational" mf:type="number">28</mn></mrow></mfrac></mrow></mrow>
</mrow></data></unit><unit name="subtask_3"><data name="coordVector"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="\\vec{p_{B₃}} = " mf:type="vector">
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">-38</mn></mrow><mrow><mn mf:field="rational" mf:type="number">17</mn></mrow></mfrac></mrow></mrow>
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">5</mn></mrow><mrow><mn mf:field="rational" mf:type="number">17</mn></mrow></mfrac></mrow></mrow>
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">1</mn></mrow><mrow><mn mf:field="rational" mf:type="number">34</mn></mrow></mfrac></mrow></mrow>
</mrow></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_erzeugendensystem'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_erzeugendensystem'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="polynom_1">
<data name="coefficient_3">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
<data name="coefficient_0">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">4</mn>
</data>
</unit>
<unit name="polynom_4">
<data name="coefficient_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
</unit>
<unit name="polynom_7">
<data name="coefficient_3">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-4</mn>
</data>
<data name="coefficient_0">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-3</mn>
</data>
</unit>
<unit name="polynom_2">
<data name="coefficient_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-2</mn>
</data>
</unit>
<unit name="polynom_8">
<data name="coefficient_3">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">4</mn>
</data>
<data name="coefficient_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
<data name="coefficient_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">5</mn>
</data>
</unit>
<unit name="polynom_3">
<data name="coefficient_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-4</mn>
</data>
<data name="coefficient_0">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">3</mn>
</data>
</unit>
<unit name="polynom_6">
<data name="coefficient_3">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">4</mn>
</data>
</unit>
<unit name="polynom_9">
<data name="coefficient_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">4</mn>
</data>
<data name="coefficient_0">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_erzeugendensystem'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_erzeugendensystem'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">4</data><unit name="subtask_1"><data name="selected_1"><mrow xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="op-number">
<mn mf:field="int" mf:type="number">-1</mn>
<msup>
<mi>x</mi>
<mn>2</mn>
</msup>
</mrow></data><data name="selected_2"><mrow xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="op-number">
<mn mf:field="int" mf:type="number">-2</mn>
<mi>x</mi>
<mrow>
<mo>(</mo>
<mi>x</mi>
<mo>+</mo>
<mn>1</mn>
<mo>)</mo>
</mrow>
</mrow></data><data name="selected_3"><mrow xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="op-number">
<mn mf:field="int" mf:type="number">4</mn>
<msup>
<mi>x</mi>
<mn>3</mn>
</msup>
<mo>+</mo>
<mn mf:field="int" mf:type="number">2</mn>
<msup>
<mi>x</mi>
<mn>2</mn>
</msup>
<mo>+</mo>
<mn mf:field="int" mf:type="number">5</mn>
<mi>x</mi>
</mrow></data></unit><unit name="subtask_2"><data name="selected_1"><mrow xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="op-number">
<mn mf:field="int" mf:type="number">-1</mn>
<msup>
<mi>x</mi>
<mn>2</mn>
</msup>
</mrow></data><data name="selected_2"><mrow xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="op-number">
<mn mf:field="int" mf:type="number">-2</mn>
<mi>x</mi>
<mrow>
<mo>(</mo>
<mi>x</mi>
<mo>+</mo>
<mn>1</mn>
<mo>)</mo>
</mrow>
</mrow></data><data name="selected_3"><mrow xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="op-number">
<mi>x</mi>
<mo>+</mo>
<mn>1</mn>
</mrow></data><data name="selected_4"><mrow xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="op-number">
<mn mf:field="int" mf:type="number">4</mn>
<mi>x</mi>
<mo>+</mo>
<mn mf:field="int" mf:type="number">2</mn>
</mrow></data><data name="selected_5"><mrow xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="op-number">
<mn mf:field="int" mf:type="number">-4</mn>
<mi>x</mi>
<mo>+</mo>
<mn mf:field="int" mf:type="number">3</mn>
</mrow></data></unit><unit name="subtask_3"><data name="selected_1"><mrow xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="op-number">
<mn mf:field="int" mf:type="number">-1</mn>
<msup>
<mi>x</mi>
<mn>3</mn>
</msup>
<mo>+</mo>
<mn mf:field="int" mf:type="number">4</mn>
</mrow></data><data name="selected_2"><mrow xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="op-number">
<mn mf:field="int" mf:type="number">-1</mn>
<msup>
<mi>x</mi>
<mn>2</mn>
</msup>
</mrow></data><data name="selected_3"><mrow xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="op-number">
<mn mf:field="int" mf:type="number">-4</mn>
<msup>
<mi>x</mi>
<mn>3</mn>
</msup>
<mo>+</mo>
<mn mf:field="int" mf:type="number">-3</mn>
</mrow></data></unit><unit name="subtask_4"><data name="selected_1"><mrow xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="op-number">
<mn mf:field="int" mf:type="number">-4</mn>
<msup>
<mi>x</mi>
<mn>3</mn>
</msup>
<mo>+</mo>
<mn mf:field="int" mf:type="number">-3</mn>
</mrow></data><data name="selected_2"><mrow xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="op-number">
<mn mf:field="int" mf:type="number">-1</mn>
<msup>
<mi>x</mi>
<mn>3</mn>
</msup>
<mo>+</mo>
<mn mf:field="int" mf:type="number">4</mn>
</mrow></data><data name="selected_3"><mrow xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="op-number">
<mn mf:field="int" mf:type="number">4</mn>
<mi>x</mi>
<mo>+</mo>
<mn mf:field="int" mf:type="number">2</mn>
</mrow></data><data name="selected_4"><mrow xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="op-number">
<mn mf:field="int" mf:type="number">-4</mn>
<mi>x</mi>
<mo>+</mo>
<mn mf:field="int" mf:type="number">3</mn>
</mrow></data><data name="selected_5"><mrow xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="op-number">
<mi>x</mi>
<mo>+</mo>
<mn>1</mn>
</mrow></data></unit></unit><unit name="subtask_1"><data name="selected_1">common/problem/polynom_4</data><data name="selected_2">common/problem/polynom_2</data><data name="selected_3">common/problem/polynom_8</data><data name="nrOfElements"><mn xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:hidden="true" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">3</mn></data></unit><unit name="subtask_2"><data name="selected_1">common/problem/polynom_4</data><data name="selected_2">common/problem/polynom_2</data><data name="selected_3">common/problem/polynom_5</data><data name="selected_4">common/problem/polynom_9</data><data name="selected_5">common/problem/polynom_3</data><data name="nrOfElements"><mn xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:hidden="true" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">5</mn></data></unit><unit name="subtask_3"><data name="selected_1">common/problem/polynom_1</data><data name="selected_2">common/problem/polynom_4</data><data name="selected_3">common/problem/polynom_7</data><data name="nrOfElements"><mn xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:hidden="true" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">3</mn></data></unit><unit name="subtask_4"><data name="selected_1">common/problem/polynom_7</data><data name="selected_2">common/problem/polynom_1</data><data name="selected_3">common/problem/polynom_9</data><data name="selected_4">common/problem/polynom_3</data><data name="selected_5">common/problem/polynom_5</data><data name="nrOfElements"><mn xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:hidden="true" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">5</mn></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_basis_von_matrizen'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_basis_von_matrizen'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="matrices">
<unit name="matrix_1">
<data name="coefficient_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">4</mn>
</data>
<data name="coefficient_22">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
</unit>
<unit name="matrix_2">
<data name="coefficient_12">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">5</mn>
</data>
</unit>
<unit name="matrix_3">
<data name="coefficient_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">5</mn>
</data>
<data name="coefficient_12">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">3</mn>
</data>
</unit>
<unit name="matrix_4">
<data name="coefficient_21">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-3</mn>
</data>
</unit>
<unit name="matrix_6">
<data name="coefficient_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
<data name="coefficient_12">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">3</mn>
</data>
<data name="coefficient_21">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="coefficient_22">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-4</mn>
</data>
</unit>
<unit name="matrix_7">
<data name="coefficient_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="coefficient_22">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">4</mn>
</data>
</unit>
<unit name="matrix_8">
<data name="coefficient_12">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">5</mn>
</data>
<data name="coefficient_21">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="coefficient_22">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-5</mn>
</data>
</unit>
<unit name="matrix_9">
<data name="coefficient_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-2</mn>
</data>
<data name="coefficient_12">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-2</mn>
</data>
</unit>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_basis_von_matrizen'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_basis_von_matrizen'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">2</data><unit name="subtask_1"><data name="selected_1"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:type="matrix">
<mtr>
<mtd align="center">
<mn mf:field="int" mf:type="number">4</mn>
</mtd>
<mtd align="center">
<mn>0</mn>
</mtd>
</mtr>
<mtr>
<mtd align="center">
<mn>0</mn>
</mtd>
<mtd align="center">
<mn mf:field="int" mf:type="number">1</mn>
</mtd>
</mtr>
</mtable></data><data name="selected_2"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:type="matrix">
<mtr>
<mtd align="center">
<mn>0</mn>
</mtd>
<mtd align="center">
<mn mf:field="int" mf:type="number">5</mn>
</mtd>
</mtr>
<mtr>
<mtd align="center">
<mn mf:field="int" mf:type="number">5</mn>
</mtd>
<mtd align="center">
<mn>0</mn>
</mtd>
</mtr>
</mtable></data><data name="selected_3"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:type="matrix">
<mtr>
<mtd align="center">
<mn mf:field="int" mf:type="number">5</mn>
</mtd>
<mtd align="center">
<mn mf:field="int" mf:type="number">3</mn>
</mtd>
</mtr>
<mtr>
<mtd align="center">
<mn>0</mn>
</mtd>
<mtd align="center">
<mn>0</mn>
</mtd>
</mtr>
</mtable></data><data name="selected_4"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:type="matrix">
<mtr>
<mtd align="center">
<mn>0</mn>
</mtd>
<mtd align="center">
<mn>0</mn>
</mtd>
</mtr>
<mtr>
<mtd align="center">
<mn mf:field="int" mf:type="number">-3</mn>
</mtd>
<mtd align="center">
<mn>0</mn>
</mtd>
</mtr>
</mtable></data></unit><unit name="subtask_2"><data name="selected_1"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:type="matrix">
<mtr>
<mtd align="center">
<mn>1</mn>
</mtd>
<mtd align="center">
<mn>1</mn>
</mtd>
</mtr>
<mtr>
<mtd align="center">
<mn>0</mn>
</mtd>
<mtd align="center">
<mn>0</mn>
</mtd>
</mtr>
</mtable></data><data name="selected_2"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:type="matrix">
<mtr>
<mtd align="center">
<mn mf:field="int" mf:type="number">1</mn>
</mtd>
<mtd align="center">
<mn>0</mn>
</mtd>
</mtr>
<mtr>
<mtd align="center">
<mn>0</mn>
</mtd>
<mtd align="center">
<mn mf:field="int" mf:type="number">4</mn>
</mtd>
</mtr>
</mtable></data><data name="selected_3"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:type="matrix">
<mtr>
<mtd align="center">
<mn>0</mn>
</mtd>
<mtd align="center">
<mn mf:field="int" mf:type="number">5</mn>
</mtd>
</mtr>
<mtr>
<mtd align="center">
<mn mf:field="int" mf:type="number">1</mn>
</mtd>
<mtd align="center">
<mn mf:field="int" mf:type="number">-5</mn>
</mtd>
</mtr>
</mtable></data><data name="selected_4"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:type="matrix">
<mtr>
<mtd align="center">
<mn mf:field="int" mf:type="number">-2</mn>
</mtd>
<mtd align="center">
<mn mf:field="int" mf:type="number">-2</mn>
</mtd>
</mtr>
<mtr>
<mtd align="center">
<mn>0</mn>
</mtd>
<mtd align="center">
<mn>0</mn>
</mtd>
</mtr>
</mtable></data></unit></unit><unit name="subtask_1"><data name="selected_1">common/problem/matrices/matrix_1</data><data name="selected_2">common/problem/matrices/matrix_2</data><data name="selected_3">common/problem/matrices/matrix_3</data><data name="selected_4">common/problem/matrices/matrix_4</data><data name="nrOfElements"><mn xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:hidden="true" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">4</mn></data></unit><unit name="subtask_2"><data name="selected_1">common/problem/matrices/matrix_5</data><data name="selected_2">common/problem/matrices/matrix_7</data><data name="selected_3">common/problem/matrices/matrix_8</data><data name="selected_4">common/problem/matrices/matrix_9</data><data name="nrOfElements"><mn xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:hidden="true" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">4</mn></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_determinante_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_spiegelung'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/3_real_with_scalar_product/3_2_orthogonal_and_symmetric_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_determinante_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_spiegelung'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/3_real_with_scalar_product/3_2_orthogonal_and_symmetric_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="vector">
<data name="component_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="component_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">5</mn>
</data>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_determinante_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_spiegelung'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/3_real_with_scalar_product/3_2_orthogonal_and_symmetric_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_determinante_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_spiegelung'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/3_real_with_scalar_product/3_2_orthogonal_and_symmetric_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">1</data></unit><unit name="subtask_1"><data name="matrix"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="A = " mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="real" mf:type="number">-12</mn></mrow><mrow><mn mf:field="real" mf:type="number">13</mn></mrow></mfrac></mrow></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="real" mf:type="number">5</mn></mrow><mrow><mn mf:field="real" mf:type="number">13</mn></mrow></mfrac></mrow></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="real" mf:type="number">5</mn></mrow><mrow><mn mf:field="real" mf:type="number">13</mn></mrow></mfrac></mrow></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="real" mf:type="number">12</mn></mrow><mrow><mn mf:field="real" mf:type="number">13</mn></mrow></mfrac></mrow></mrow>
</mtd>
</mtr>
</mtable></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_determinante_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_determinante'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_3_multilinear_forms_and_tensors'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_determinante_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_determinante'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_3_multilinear_forms_and_tensors')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="matrix_1">
<data name="component_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-3</mn>
</data>
<data name="component_12">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">4</mn>
</data>
<data name="component_13">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">3</mn>
</data>
<data name="component_14">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-5</mn>
</data>
<data name="component_22">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-2</mn>
</data>
<data name="component_23">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
<data name="component_24">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="component_33">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-5</mn>
</data>
<data name="component_34">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-5</mn>
</data>
<data name="component_44">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">3</mn>
</data>
</unit>
<unit name="matrix_2">
<data name="component_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-4</mn>
</data>
<data name="component_12">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="component_13">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
<data name="component_14">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
<data name="component_21">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
<data name="component_23">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
<data name="component_31">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-5</mn>
</data>
<data name="component_32">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="component_33">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="component_34">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="component_41">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">5</mn>
</data>
<data name="component_42">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
<data name="component_43">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-3</mn>
</data>
<data name="component_44">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
</unit>
<unit name="matrix_3">
<data name="component_12">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="component_13">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">7</mn>
</data>
<data name="component_23">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_determinante_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_determinante'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_3_multilinear_forms_and_tensors'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_determinante_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_determinante'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_3_multilinear_forms_and_tensors')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">3</data></unit><unit name="subtask_1"><data name="det"><mrow xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="det(M_1) = " mf:type="op-number" xmlns="http://www.w3.org/1998/Math/MathML"><mn mf:field="real" mf:type="number">-90</mn></mrow></data></unit><unit name="subtask_2"><data name="det"><mrow xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="det(M_2) = " mf:type="op-number" xmlns="http://www.w3.org/1998/Math/MathML"><mn mf:field="real" mf:type="number">25</mn></mrow></data></unit><unit name="subtask_3"><data name="det"><mrow xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="det(M_3) = " mf:type="op-number" xmlns="http://www.w3.org/1998/Math/MathML"><mn mf:field="real" mf:type="number">0</mn></mrow></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_determinante_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_schrift_kapitel_09_10_ss_a'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/3_real_with_scalar_product/3_2_orthogonal_and_symmetric_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_determinante_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_schrift_kapitel_09_10_ss_a'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/3_real_with_scalar_product/3_2_orthogonal_and_symmetric_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_determinante_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_qr-zerlegung'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/3_real_with_scalar_product/3_2_orthogonal_and_symmetric_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_determinante_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_qr-zerlegung'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/3_real_with_scalar_product/3_2_orthogonal_and_symmetric_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="matrices">
<unit name="matrix_1">
<data name="coefficient_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="coefficient_12">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
</unit>
<unit name="matrix_2">
<data name="coefficient_13">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">4</mn>
</data>
<data name="coefficient_23">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">6</mn>
</data>
<data name="coefficient_33">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">3</mn>
</data>
</unit>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_determinante_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_qr-zerlegung'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/3_real_with_scalar_product/3_2_orthogonal_and_symmetric_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_determinante_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_qr-zerlegung'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/3_real_with_scalar_product/3_2_orthogonal_and_symmetric_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">2</data></unit><unit name="subtask_1"><data name="matrix_q"><mtable xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" class="bmatrix" mf:field="op-number" mf:label="Q = " mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">1</mn></mrow><mrow><msqrt><mn mf:field="rational" mf:type="number">5</mn></msqrt></mrow></mfrac></mrow></mrow>
</mtd>
<mtd>
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">2</mn></mrow><mrow><msqrt><mn mf:field="rational" mf:type="number">5</mn></msqrt></mrow></mfrac></mrow></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">-2</mn></mrow><mrow><msqrt><mn mf:field="rational" mf:type="number">5</mn></msqrt></mrow></mfrac></mrow></mrow>
</mtd>
<mtd>
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">1</mn></mrow><mrow><msqrt><mn mf:field="rational" mf:type="number">5</mn></msqrt></mrow></mfrac></mrow></mrow>
</mtd>
</mtr>
</mtable></data><data name="matrix_r"><mtable xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" class="bmatrix" mf:field="op-number" mf:label="R = " mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="rational" mf:type="op-number"><msqrt><mn mf:field="rational" mf:type="number">5</mn></msqrt></mrow>
</mtd>
<mtd>
<mrow mf:field="rational" mf:type="op-number"><mn mf:field="rational" mf:type="number">0</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="rational" mf:type="op-number"><mn mf:field="rational" mf:type="number">0</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="rational" mf:type="op-number"><msqrt><mn mf:field="rational" mf:type="number">5</mn></msqrt></mrow>
</mtd>
</mtr>
</mtable></data></unit><unit name="subtask_2"><data name="matrix_q"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="Q = " mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">2</mn></mrow><mrow><mn mf:field="rational" mf:type="number">3</mn></mrow></mfrac></mrow></mrow>
</mtd>
<mtd>
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">-2</mn></mrow><mrow><mn mf:field="rational" mf:type="number">3</mn></mrow></mfrac></mrow></mrow>
</mtd>
<mtd>
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">-7</mn></mrow><mrow><msqrt><mn mf:field="rational" mf:type="number">66</mn></msqrt></mrow></mfrac></mrow></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">2</mn></mrow><mrow><mn mf:field="rational" mf:type="number">3</mn></mrow></mfrac></mrow></mrow>
</mtd>
<mtd>
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">1</mn></mrow><mrow><mn mf:field="rational" mf:type="number">3</mn></mrow></mfrac></mrow></mrow>
</mtd>
<mtd>
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">-4</mn></mrow><mrow><msqrt><mn mf:field="rational" mf:type="number">66</mn></msqrt></mrow></mfrac></mrow></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">1</mn></mrow><mrow><mn mf:field="rational" mf:type="number">3</mn></mrow></mfrac></mrow></mrow>
</mtd>
<mtd>
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">2</mn></mrow><mrow><mn mf:field="rational" mf:type="number">3</mn></mrow></mfrac></mrow></mrow>
</mtd>
<mtd>
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">-1</mn></mrow><mrow><msqrt><mn mf:field="rational" mf:type="number">66</mn></msqrt></mrow></mfrac></mrow></mrow>
</mtd>
</mtr>
</mtable></data><data name="matrix_r"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="R = " mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="rational" mf:type="op-number"><mn mf:field="rational" mf:type="number">1</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="rational" mf:type="op-number"><mn mf:field="rational" mf:type="number">0</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="rational" mf:type="op-number"><mn mf:field="rational" mf:type="number">0</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="rational" mf:type="op-number"><mn mf:field="rational" mf:type="number">0</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="rational" mf:type="op-number"><mn mf:field="rational" mf:type="number">1</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="rational" mf:type="op-number"><mn mf:field="rational" mf:type="number">0</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="rational" mf:type="op-number"><mn mf:field="rational" mf:type="number">0</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="rational" mf:type="op-number"><mn mf:field="rational" mf:type="number">0</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="rational" mf:type="op-number"><mn mf:field="rational" mf:type="number">1</mn></mrow>
</mtd>
</mtr>
</mtable></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_determinante_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_determinante2'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_3_multilinear_forms_and_tensors'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_determinante_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_determinante2'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_3_multilinear_forms_and_tensors')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="matrix_1">
<data name="component_12">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-5</mn>
</data>
<data name="component_22">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">4</mn>
</data>
</unit>
<unit name="matrix_2">
<data name="component_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-3</mn>
</data>
<data name="component_12">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
<data name="component_21">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-4</mn>
</data>
<data name="component_22">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
</unit>
<unit name="matrix_3">
<data name="component_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">4</mn>
</data>
<data name="component_22">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_determinante_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_determinante2'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_3_multilinear_forms_and_tensors'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_determinante_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_determinante2'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_3_multilinear_forms_and_tensors')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">1</data></unit><unit name="subtask_1"><data name="det1"><mrow xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="det(A_1) = " mf:type="op-number" xmlns="http://www.w3.org/1998/Math/MathML"><mn mf:field="real" mf:type="number">0</mn></mrow></data><data name="det2"><mrow xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="det(A_2) = " mf:type="op-number" xmlns="http://www.w3.org/1998/Math/MathML"><mn mf:field="real" mf:type="number">-7</mn></mrow></data><data name="det3"><mrow xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="det(A_3) = " mf:type="op-number" xmlns="http://www.w3.org/1998/Math/MathML"><mn mf:field="real" mf:type="number">-4</mn></mrow></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_determinante_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_determinante1'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_3_multilinear_forms_and_tensors'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_determinante_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_determinante1'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_3_multilinear_forms_and_tensors')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="vector">
<data name="component_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-2</mn>
</data>
<data name="component_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_determinante_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_determinante1'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_3_multilinear_forms_and_tensors'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_determinante_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_determinante1'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_3_multilinear_forms_and_tensors')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">1</data></unit><unit name="subtask_1"><data name="matrix1"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="Für det(A)=0 : A = " mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">-2</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
</mtr>
</mtable></data><data name="matrix2"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="Für det(A)≠0 : A = " mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">-2</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">-1</mn></mrow>
</mtd>
</mtr>
</mtable></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_diagonalisierbare_matrizen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_schrift_kapitel_12_ss_a'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_diagonalisierbare_matrizen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_schrift_kapitel_12_ss_a'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_diagonalisierbare_matrizen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_markov'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_diagonalisierbare_matrizen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_markov'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<data name="q">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">9</mn>
</data>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_diagonalisierbare_matrizen_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_diagonalisierbare_matrizen'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_diagonalisierbare_matrizen_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_diagonalisierbare_matrizen'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<data name="lambda1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="lambda2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-2</mn>
</data>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_diagonalisierbare_matrizen_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_diagonalisierbare_matrizen'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_diagonalisierbare_matrizen_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_diagonalisierbare_matrizen'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">4</data></unit><unit name="subtask_1"><data name="l1"><mrow xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="λ_1 = " mf:type="op-number" xmlns="http://www.w3.org/1998/Math/MathML"><mn mf:field="real" mf:type="number">1</mn></mrow></data><data name="l2"><mrow xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="λ_2 = " mf:type="op-number" xmlns="http://www.w3.org/1998/Math/MathML"><mn mf:field="real" mf:type="number">-2</mn></mrow></data></unit><unit name="subtask_2"><data name="matrix_invers"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="S^{-1} = " mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">3</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">-4</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">-2</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">3</mn></mrow>
</mtd>
</mtr>
</mtable></data></unit><unit name="subtask_3"><data name="matrix_product"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="S^{-1}AS = " mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">-2</mn></mrow>
</mtd>
</mtr>
</mtable></data></unit><unit name="subtask_4"><data name="selected_0"><mtext xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="string" mf:label="symmetrisch: " mf:type="text" xmlns="http://www.w3.org/1998/Math/MathML">richtig</mtext></data><data name="selected_1"><mtext xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="string" mf:label="antisymmetrisch: " mf:type="text" xmlns="http://www.w3.org/1998/Math/MathML">falsch</mtext></data><data name="selected_2"><mtext xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="string" mf:label="eine Diagonalmatrix: " mf:type="text" xmlns="http://www.w3.org/1998/Math/MathML">richtig</mtext></data><data name="selected_3"><mtext xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="string" mf:label="eine obere Dreiecksmatrix: " mf:type="text" xmlns="http://www.w3.org/1998/Math/MathML">richtig</mtext></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_diagonalisierbare_matrizen_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_diagonalisierbare-matrix2'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_diagonalisierbare_matrizen_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_diagonalisierbare-matrix2'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="matrix">
<data name="coefficient_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-3</mn>
</data>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_diagonalisierbare_matrizen_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_diagonalisierbare-matrix2'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_diagonalisierbare_matrizen_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_diagonalisierbare-matrix2'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">1</data></unit><unit name="subtask_1"><data name="a"><mrow xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="a = " mf:type="op-number" xmlns="http://www.w3.org/1998/Math/MathML"><mn mf:field="real" mf:type="number">0</mn></mrow></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_eigenvektoren-eigenwerte_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_schrift_kapitel_11_ss_a'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_eigenvektoren-eigenwerte_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_schrift_kapitel_11_ss_a'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_eigenvektoren-eigenwerte_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_lineare-abbildung-mit-eigenvektoren'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_eigenvektoren-eigenwerte_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_lineare-abbildung-mit-eigenvektoren'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<data name="sum_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-4</mn>
</data>
<data name="sum_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">4</mn>
</data>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_eigenvektoren-eigenwerte_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_lineare-abbildung-mit-eigenvektoren'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_eigenvektoren-eigenwerte_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_lineare-abbildung-mit-eigenvektoren'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">3</data></unit><unit name="subtask_1"><data name="matrix"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="M = " mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="real" mf:type="number">-1</mn>
</mtd>
<mtd>
<mn mf:field="real" mf:type="number">-1</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="real" mf:type="number">-1</mn>
</mtd>
<mtd>
<mn mf:field="real" mf:type="number">-1</mn>
</mtd>
</mtr>
</mtable></data></unit><unit name="subtask_2"><data name="matrix"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="M = " mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="real" mf:type="number">2</mn>
</mtd>
<mtd>
<mn mf:field="real" mf:type="number">0</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="real" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="real" mf:type="number">2</mn>
</mtd>
</mtr>
</mtable></data></unit><unit name="subtask_3"><data name="matrix"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="M = " mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="real" mf:type="number">5</mn>
</mtd>
<mtd>
<mn mf:field="real" mf:type="number">5</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="real" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="real" mf:type="number">5</mn>
</mtd>
</mtr>
</mtable></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_eigenvektoren-eigenwerte_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_charakteristisches-polynom'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_eigenvektoren-eigenwerte_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_charakteristisches-polynom'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="matrices">
<unit name="matrix_1">
<data name="coefficient_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">0</mn>
</data>
<data name="coefficient_12">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
<data name="coefficient_13">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="coefficient_14">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-2</mn>
</data>
<data name="coefficient_22">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
<data name="coefficient_23">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
<data name="coefficient_24">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
<data name="coefficient_33">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="coefficient_34">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
<data name="coefficient_44">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">3</mn>
</data>
</unit>
<unit name="matrix_2">
<data name="coefficient_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">0</mn>
</data>
<data name="coefficient_12">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="coefficient_14">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
<data name="coefficient_21">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">4</mn>
</data>
<data name="coefficient_22">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">3</mn>
</data>
<data name="coefficient_24">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="coefficient_31">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">3</mn>
</data>
<data name="coefficient_32">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">0</mn>
</data>
<data name="coefficient_33">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
<data name="coefficient_34">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
<data name="coefficient_41">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="coefficient_42">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">0</mn>
</data>
<data name="coefficient_44">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
</unit>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_eigenvektoren-eigenwerte_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_charakteristisches-polynom'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_eigenvektoren-eigenwerte_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_charakteristisches-polynom'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">2</data></unit><unit name="subtask_1"><data name="poly1"><mrow xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="p_M(x) = " mf:type="op-number"><mrow><mrow><mn mf:field="int" mf:type="number">-1</mn><mo>*</mo><mi>x</mi></mrow><mo>*</mo><mo>(</mo><mrow><mo>(</mo><mrow><mo>-</mo><mi>x</mi></mrow><mo>)</mo><mo>+</mo><mn mf:field="real" mf:type="number">1</mn></mrow><mo>)</mo><mo>*</mo><mo>(</mo><mrow><mo>(</mo><mrow><mo>-</mo><mi>x</mi></mrow><mo>)</mo><mo>+</mo><mn mf:field="real" mf:type="number">3</mn></mrow><mo>)</mo><mo>*</mo><mo>(</mo><mrow><mo>(</mo><mrow><mo>-</mo><mi>x</mi></mrow><mo>)</mo><mo>-</mo><mo>(</mo><mn mf:field="real" mf:type="number">1</mn><mo>)</mo></mrow><mo>)</mo></mrow></mrow></data></unit><unit name="subtask_2"><data name="poly2"><mrow xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="p_M(x) = " mf:type="op-number" xmlns="http://www.w3.org/1998/Math/MathML"><mrow><msup><mi>x</mi><mn mf:field="real" mf:type="number">4</mn></msup><mo>-</mo><mo>(</mo><mrow><mn mf:field="real" mf:type="number">6</mn><mo>*</mo><msup><mi>x</mi><mn mf:field="real" mf:type="number">3</mn></msup></mrow><mo>)</mo><mo>+</mo><mo>(</mo><mrow><mn mf:field="real" mf:type="number">5</mn><mo>*</mo><msup><mi>x</mi><mn mf:field="real" mf:type="number">2</mn></msup></mrow><mo>)</mo><mo>+</mo><mo>(</mo><mrow><mn mf:field="real" mf:type="number">15</mn><mo>*</mo><mi>x</mi></mrow><mo>)</mo><mo>-</mo><mo>(</mo><mn mf:field="real" mf:type="number">18</mn><mo>)</mo></mrow></mrow></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_eigenvektoren-eigenwerte_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_eigenwerte-eigenvektoren'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_eigenvektoren-eigenwerte_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_eigenwerte-eigenvektoren'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<data name="omega">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="f">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">4</mn>
</data>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_eigenvektoren-eigenwerte_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_eigenwerte-eigenvektoren'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_eigenvektoren-eigenwerte_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_eigenwerte-eigenvektoren'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">4</data></unit><unit name="subtask_1"><data name="p(z)"><mrow xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="p(z) = " mf:type="op-number"><mrow><mrow><mn mf:field="int" mf:type="number">-1</mn><mo>*</mo><mi>x</mi></mrow><mo>*</mo><mo>(</mo><mrow><mo>(</mo><mrow><mo>-</mo><mi>x</mi></mrow><mo>)</mo><mo>+</mo><mn mf:field="real" mf:type="number">4</mn></mrow><mo>)</mo></mrow></mrow></data></unit><unit name="subtask_2"><data name="f"><mn xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="f = " mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">0</mn></data><data name="z1"><cnum xmlns="http://www.mumie.net/xml-namespace/mathml-ext" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:label="λ_1 = " mf:type="number"><mn mf:field="real" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">0</mn><mn mf:field="real" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">1</mn></cnum></data><data name="z2"><cnum xmlns="http://www.mumie.net/xml-namespace/mathml-ext" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:label="λ_2 = " mf:type="number"><mn mf:field="real" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">0</mn><mn mf:field="real" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">-1</mn></cnum></data><data name="v1"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:label="\\vec{v_1} = " mf:type="vector">
<mn mf:field="complex" mf:type="number">1</mn>
<cnum xmlns="http://www.mumie.net/xml-namespace/mathml-ext" mf:field="complex" mf:type="number"><mn mf:field="real" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">0</mn><mn mf:field="real" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">1</mn></cnum>
</mrow></data><data name="v2"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:label="\\vec{v_2} = " mf:type="vector">
<mn mf:field="complex" mf:type="number">1</mn>
<cnum xmlns="http://www.mumie.net/xml-namespace/mathml-ext" mf:field="complex" mf:type="number"><mn mf:field="real" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">0</mn><mn mf:field="real" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">-1</mn></cnum>
</mrow></data></unit><unit name="subtask_3"><data name="f"><mn xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="f = " mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">2</mn></data><data name="z"><mn xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:label="λ = " mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">1</mn></data><data name="v"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:label="\\vec{v} = " mf:type="vector">
<mn mf:field="complex" mf:type="number">1</mn>
<mn mf:field="complex" mf:type="number">1</mn>
</mrow></data></unit><unit name="subtask_4"><data name="f"><mn xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="f = " mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">2,5</mn></data><data name="z1"><mn xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:label="λ_1 = " mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">0,5</mn></data><data name="z2"><mn xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:label="λ_2 = " mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">2</mn></data><data name="v1"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:label="\\vec{v_1} = " mf:type="vector">
<mn mf:field="complex" mf:type="number">2</mn>
<mn mf:field="complex" mf:type="number">1</mn>
</mrow></data><data name="v2"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex" mf:label="\\vec{v_2} = " mf:type="vector">
<mn mf:field="complex" mf:type="number">1</mn>
<mn mf:field="complex" mf:type="number">2</mn>
</mrow></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_eigenvektoren-eigenwerte_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_eigenwerte-eigenvektoren'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_eigenvektoren-eigenwerte_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_eigenwerte-eigenvektoren'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="matrix">
<data name="component_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
<data name="component_12">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">3</mn>
</data>
<data name="component_22">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_eigenvektoren-eigenwerte_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_eigenwerte-eigenvektoren'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_eigenvektoren-eigenwerte_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_eigenwerte-eigenvektoren'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">1</data></unit><unit name="subtask_1"><data name="x"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="x = " mf:type="vector">
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mrow></data><data name="lambda"><mn xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="λ = " mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">-1</mn></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_eigenvektoren-eigenwerte_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_charakteristisches-polynom'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_eigenvektoren-eigenwerte_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_charakteristisches-polynom'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="matrices">
<unit name="matrix_1">
<data name="coefficient_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-3</mn>
</data>
<data name="coefficient_12">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-2</mn>
</data>
<data name="coefficient_21">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
<data name="coefficient_22">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
</unit>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_eigenvektoren-eigenwerte_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_charakteristisches-polynom'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_eigenvektoren-eigenwerte_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_charakteristisches-polynom'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">1</data></unit><unit name="subtask_1"><data name="poly1"><mrow xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="p_M(x) = " mf:type="op-number" xmlns="http://www.w3.org/1998/Math/MathML"><mrow><msup><mi>x</mi><mn mf:field="real" mf:type="number">2</mn></msup><mo>+</mo><mo>(</mo><mrow><mn mf:field="real" mf:type="number">2</mn><mo>*</mo><mi>x</mi></mrow><mo>)</mo><mo>-</mo><mo>(</mo><mn mf:field="real" mf:type="number">5</mn><mo>)</mo></mrow></mrow></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_euklidische_unitaere_vektorraeume_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_standardskalarprodukt'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/3_real_with_scalar_product/3_1_euclidean_vector_spaces_and_the_Rn_with_scalar_product/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_euklidische_unitaere_vektorraeume_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_standardskalarprodukt'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/3_real_with_scalar_product/3_1_euclidean_vector_spaces_and_the_Rn_with_scalar_product/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="vector_a">
<data name="component_1">
<mfrac xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="rational" mf:type="number"><mn mf:field="int" mf:type="number">5</mn><mn mf:field="int" mf:type="number">2</mn></mfrac>
</data>
<data name="component_2">
<mfrac xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="rational" mf:type="number"><mn mf:field="int" mf:type="number">1</mn><mn mf:field="int" mf:type="number">2</mn></mfrac>
</data>
</unit>
<unit name="vector_b">
<data name="component_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="rational" mf:type="number">1</mn>
</data>
<data name="component_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="rational" mf:type="number">-3</mn>
</data>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_euklidische_unitaere_vektorraeume_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_standardskalarprodukt'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/3_real_with_scalar_product/3_1_euclidean_vector_spaces_and_the_Rn_with_scalar_product/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_euklidische_unitaere_vektorraeume_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_standardskalarprodukt'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/3_real_with_scalar_product/3_1_euclidean_vector_spaces_and_the_Rn_with_scalar_product/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">1</data></unit><unit name="subtask_1"><data name="dotproduct"><mrow xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="<\\vec{a}, \\vec{b}> = " mf:type="op-number" xmlns="http://www.w3.org/1998/Math/MathML"><mn mf:field="real" mf:type="number">1</mn></mrow></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_euklidische_unitaere_vektorraeume_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_senkrechte_vektoren'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/3_real_with_scalar_product/3_1_euclidean_vector_spaces_and_the_Rn_with_scalar_product/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_euklidische_unitaere_vektorraeume_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_senkrechte_vektoren'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/3_real_with_scalar_product/3_1_euclidean_vector_spaces_and_the_Rn_with_scalar_product/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="vector_a">
<data name="component_1">
<mfrac xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="rational" mf:type="number"><mn mf:field="int" mf:type="number">1</mn><mn mf:field="int" mf:type="number">3</mn></mfrac>
</data>
<data name="component_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="rational" mf:type="number">-4</mn>
</data>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_euklidische_unitaere_vektorraeume_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_senkrechte_vektoren'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/3_real_with_scalar_product/3_1_euclidean_vector_spaces_and_the_Rn_with_scalar_product/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_euklidische_unitaere_vektorraeume_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_senkrechte_vektoren'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/3_real_with_scalar_product/3_1_euclidean_vector_spaces_and_the_Rn_with_scalar_product/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">1</data></unit><unit name="subtask_1"><data name="x"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="rational" mf:label="\\vec{x} = " mf:type="vector">
<mfrac mf:field="rational" mf:type="number"><mn mf:field="int" mf:type="number">24</mn><mn mf:field="int" mf:type="number">5</mn></mfrac>
<mfrac mf:field="rational" mf:type="number"><mn mf:field="int" mf:type="number">2</mn><mn mf:field="int" mf:type="number">5</mn></mfrac>
</mrow></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_gauss_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_koeffizientenmatrix'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_gauss_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_koeffizientenmatrix'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="matrices">
<unit name="matrix_2">
<data name="coefficent_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">8</mn>
</data>
<data name="coefficent_12">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">16</mn>
</data>
<data name="coefficent_14">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">10</mn>
</data>
<data name="b_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-6</mn>
</data>
<data name="coefficent_21">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">5</mn>
</data>
<data name="coefficent_23">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">5</mn>
</data>
<data name="coefficent_24">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">19</mn>
</data>
<data name="b_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
</unit>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_gauss_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_koeffizientenmatrix'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_gauss_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_koeffizientenmatrix'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">2</data></unit><unit name="subtask_1"><data name="matrix_a"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="rational" mf:label="Koeffizientenmatrix: " mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="rational" mf:type="number">8</mn>
</mtd>
<mtd>
<mn mf:field="rational" mf:type="number">16</mn>
</mtd>
<mtd>
<mn mf:field="rational" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="rational" mf:type="number">10</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="rational" mf:type="number">5</mn>
</mtd>
<mtd>
<mn mf:field="rational" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="rational" mf:type="number">5</mn>
</mtd>
<mtd>
<mn mf:field="rational" mf:type="number">19</mn>
</mtd>
</mtr>
</mtable></data></unit><unit name="subtask_2"><data name="matrix_b"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="rational" mf:label="erw. Koeffizientenmatrix: " mf:type="matrix">
<mtr>
<mtd>
<mn mf:field="rational" mf:type="number">8</mn>
</mtd>
<mtd>
<mn mf:field="rational" mf:type="number">16</mn>
</mtd>
<mtd>
<mn mf:field="rational" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="rational" mf:type="number">10</mn>
</mtd>
<mtd>
<mn mf:field="rational" mf:type="number">-6</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn mf:field="rational" mf:type="number">5</mn>
</mtd>
<mtd>
<mn mf:field="rational" mf:type="number">0</mn>
</mtd>
<mtd>
<mn mf:field="rational" mf:type="number">5</mn>
</mtd>
<mtd>
<mn mf:field="rational" mf:type="number">19</mn>
</mtd>
<mtd>
<mn mf:field="rational" mf:type="number">2</mn>
</mtd>
</mtr>
</mtable></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_gauss_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_loesungsmenge_lgs'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_gauss_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_loesungsmenge_lgs'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_gauss_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_loesungsmenge_lgs'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_gauss_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_loesungsmenge_lgs'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">3</data></unit><unit name="subtask_1"><data name="a_m1"><mrow xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="m_1 = " mf:type="op-number" xmlns="http://www.w3.org/1998/Math/MathML"><mn mf:field="real" mf:type="number">1</mn></mrow></data><data name="a_b1"><mrow xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="n_1 = " mf:type="op-number" xmlns="http://www.w3.org/1998/Math/MathML"><mn mf:field="real" mf:type="number">0</mn></mrow></data><data name="a_m2"><mrow xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="m_2 = " mf:type="op-number" xmlns="http://www.w3.org/1998/Math/MathML"><mn mf:field="real" mf:type="number">-1</mn></mrow></data><data name="a_b2"><mrow xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="n_2 = " mf:type="op-number" xmlns="http://www.w3.org/1998/Math/MathML"><mn mf:field="real" mf:type="number">0</mn></mrow></data><data name="a_matrix"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:hidden="true" mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">-1</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
</mtr>
</mtable></data><data name="a_vectorb"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:hidden="true" mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
</mtr>
</mtable></data></unit><unit name="subtask_2"><data name="b_m1"><mrow xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="m_1 = " mf:type="op-number" xmlns="http://www.w3.org/1998/Math/MathML"><mn mf:field="real" mf:type="number">4</mn></mrow></data><data name="b_b1"><mrow xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="n_1 = " mf:type="op-number" xmlns="http://www.w3.org/1998/Math/MathML"><mn mf:field="real" mf:type="number">3</mn></mrow></data><data name="b_m2"><mrow xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="m_2 = " mf:type="op-number" xmlns="http://www.w3.org/1998/Math/MathML"><mn mf:field="real" mf:type="number">4</mn></mrow></data><data name="b_b2"><mrow xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="n_2 = " mf:type="op-number" xmlns="http://www.w3.org/1998/Math/MathML"><mn mf:field="real" mf:type="number">3</mn></mrow></data><data name="b_matrix"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:hidden="true" mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">-4</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">-4</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
</mtr>
</mtable></data><data name="b_vectorb"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:hidden="true" mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">3</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">3</mn></mrow>
</mtd>
</mtr>
</mtable></data></unit><unit name="subtask_3"><data name="c_m1"><mrow xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="m_1 = " mf:type="op-number" xmlns="http://www.w3.org/1998/Math/MathML"><mn mf:field="real" mf:type="number">-4</mn></mrow></data><data name="c_b1"><mrow xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="n_1 = " mf:type="op-number" xmlns="http://www.w3.org/1998/Math/MathML"><mn mf:field="real" mf:type="number">2</mn></mrow></data><data name="c_m2"><mrow xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="m_2 = " mf:type="op-number" xmlns="http://www.w3.org/1998/Math/MathML"><mn mf:field="real" mf:type="number">-4</mn></mrow></data><data name="c_b2"><mrow xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="n_2 = " mf:type="op-number" xmlns="http://www.w3.org/1998/Math/MathML"><mn mf:field="real" mf:type="number">1</mn></mrow></data><data name="c_matrix"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:hidden="true" mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">4</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">4</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
</mtr>
</mtable></data><data name="c_vectorb"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:hidden="true" mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">2</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
</mtr>
</mtable></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_koordinaten-abbildung_darstellende-matrizen_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_koordinatenvektoren_polynomen'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_koordinaten-abbildung_darstellende-matrizen_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_koordinatenvektoren_polynomen'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="polynom">
<data name="coefficient_2">
<mfrac xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="rational" mf:type="number"><mn mf:field="int" mf:type="number">4</mn><mn mf:field="int" mf:type="number">3</mn></mfrac>
</data>
<data name="coefficient_1">
<mfrac xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="rational" mf:type="number"><mn mf:field="int" mf:type="number">9</mn><mn mf:field="int" mf:type="number">7</mn></mfrac>
</data>
<data name="coefficient_0">
<mfrac xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="rational" mf:type="number"><mn mf:field="int" mf:type="number">9</mn><mn mf:field="int" mf:type="number">8</mn></mfrac>
</data>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_koordinaten-abbildung_darstellende-matrizen_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_koordinatenvektoren_polynomen'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_koordinaten-abbildung_darstellende-matrizen_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_koordinatenvektoren_polynomen'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">2</data></unit><unit name="subtask_1"><data name="vector"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="Koordinatenvektor \\vec{p_{B1}} = " mf:type="vector">
<mrow mf:field="real" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="real" mf:type="number">9</mn></mrow><mrow><mn mf:field="real" mf:type="number">8</mn></mrow></mfrac></mrow></mrow>
<mrow mf:field="real" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="real" mf:type="number">9</mn></mrow><mrow><mn mf:field="real" mf:type="number">7</mn></mrow></mfrac></mrow></mrow>
<mrow mf:field="real" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="real" mf:type="number">4</mn></mrow><mrow><mn mf:field="real" mf:type="number">3</mn></mrow></mfrac></mrow></mrow>
</mrow></data></unit><unit name="subtask_2"><data name="vector"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="Koordinatenvektor \\vec{p_{B2}} = " mf:type="vector">
<mrow mf:field="real" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="real" mf:type="number">59</mn></mrow><mrow><mn mf:field="real" mf:type="number">48</mn></mrow></mfrac></mrow></mrow>
<mrow mf:field="real" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="real" mf:type="number">-89</mn></mrow><mrow><mn mf:field="real" mf:type="number">324</mn></mrow></mfrac></mrow></mrow>
<mrow mf:field="real" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="real" mf:type="number">9</mn></mrow><mrow><mn mf:field="real" mf:type="number">8</mn></mrow></mfrac></mrow></mrow>
</mrow></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_koordinaten-abbildung_darstellende-matrizen_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_koordinatenvektoren_in_r2'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_koordinaten-abbildung_darstellende-matrizen_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_koordinatenvektoren_in_r2'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="vector">
<data name="component_1">
<mfrac xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="rational" mf:type="number"><mn mf:field="int" mf:type="number">3</mn><mn mf:field="int" mf:type="number">4</mn></mfrac>
</data>
<data name="component_2">
<mfrac xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="rational" mf:type="number"><mn mf:field="int" mf:type="number">1</mn><mn mf:field="int" mf:type="number">4</mn></mfrac>
</data>
</unit>
<unit name="basis_1">
<data name="component_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
<data name="component_12">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">3</mn>
</data>
<data name="component_21">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">0</mn>
</data>
<data name="component_22">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">3</mn>
</data>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_koordinaten-abbildung_darstellende-matrizen_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_koordinatenvektoren_in_r2'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_koordinaten-abbildung_darstellende-matrizen_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_koordinatenvektoren_in_r2'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">2</data></unit><unit name="subtask_1"><data name="coordsvector"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="\\vec{v}_{BStandard} = " mf:type="vector">
<mrow mf:field="real" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="real" mf:type="number">3</mn></mrow><mrow><mn mf:field="real" mf:type="number">4</mn></mrow></mfrac></mrow></mrow>
<mrow mf:field="real" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="real" mf:type="number">1</mn></mrow><mrow><mn mf:field="real" mf:type="number">4</mn></mrow></mfrac></mrow></mrow>
</mrow></data></unit><unit name="subtask_2"><data name="coordsvector"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="\\vec{v}_{B1} = " mf:type="vector">
<mrow mf:field="real" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="real" mf:type="number">3</mn></mrow><mrow><mn mf:field="real" mf:type="number">8</mn></mrow></mfrac></mrow></mrow>
<mrow mf:field="real" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="real" mf:type="number">-7</mn></mrow><mrow><mn mf:field="real" mf:type="number">24</mn></mrow></mfrac></mrow></mrow>
</mrow></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_lineare_abbildungen_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_kern_bild_zeilenextraktion'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_lineare_abbildungen_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_kern_bild_zeilenextraktion'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="common">
<unit name="problem">
<data name="coefficient">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_lineare_abbildungen_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_kern_bild_zeilenextraktion'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_lineare_abbildungen_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_kern_bild_zeilenextraktion'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">2</data></unit><unit name="subtask_1"><data name="matrix"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="A = " mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
</mtr>
</mtable></data></unit><unit name="subtask_2"><data name="matrix"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="B = " mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
</mtr>
</mtable></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_lineare_abbildungen_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_linearitaet_der_zeilenextraktion'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_lineare_abbildungen_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_linearitaet_der_zeilenextraktion'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="common">
<unit name="problem">
<data name="coefficient">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">3</mn>
</data>
<data name="lambda">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">8</mn>
</data>
</unit>
</unit>
<unit name="user">
<unit name="problem">
<unit name="matrices">
<unit name="matrix_1">
<data name="coefficient_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-4</mn>
</data>
<data name="coefficient_12">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">4</mn>
</data>
<data name="coefficient_13">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">4</mn>
</data>
<data name="coefficient_21">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-2</mn>
</data>
<data name="coefficient_22">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">3</mn>
</data>
<data name="coefficient_23">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">0</mn>
</data>
<data name="coefficient_31">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-3</mn>
</data>
<data name="coefficient_32">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="coefficient_33">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">0</mn>
</data>
<data name="coefficient_41">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="coefficient_42">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-3</mn>
</data>
<data name="coefficient_43">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-2</mn>
</data>
</unit>
<unit name="matrix_2">
<data name="coefficient_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-3</mn>
</data>
<data name="coefficient_12">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">3</mn>
</data>
<data name="coefficient_13">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-2</mn>
</data>
<data name="coefficient_21">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="coefficient_22">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-2</mn>
</data>
<data name="coefficient_23">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">0</mn>
</data>
<data name="coefficient_31">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="coefficient_32">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="coefficient_33">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-3</mn>
</data>
<data name="coefficient_41">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-4</mn>
</data>
<data name="coefficient_42">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">4</mn>
</data>
<data name="coefficient_43">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">5</mn>
</data>
</unit>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_lineare_abbildungen_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_linearitaet_der_zeilenextraktion'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_lineare_abbildungen_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_linearitaet_der_zeilenextraktion'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">2</data></unit><unit name="subtask_1"><data name="dim"><mrow xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:label="Format der Matrix M_1: " mf:type="dimension" xmlns="http://www.w3.org/1998/Math/MathML"><mn mf:field="int" mf:type="number">1</mn>x<mn mf:field="int" mf:type="number">3</mn></mrow></data><data name="matrix"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="M_1 = " mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
</mtr>
</mtable></data></unit><unit name="subtask_2"><data name="matrix"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="M_2 = " mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">0</mn></mrow>
</mtd>
</mtr>
</mtable></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_matrizen_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_multiplikation_von_matrizen'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_matrizen_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_multiplikation_von_matrizen'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="matrices">
<unit name="matrix_1">
<data name="coefficient_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-5</mn>
</data>
<data name="coefficient_12">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-3</mn>
</data>
<data name="coefficient_21">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="coefficient_22">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">9</mn>
</data>
</unit>
<unit name="matrix_2">
<data name="coefficient_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-9</mn>
</data>
<data name="coefficient_12">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-3</mn>
</data>
<data name="coefficient_21">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-5</mn>
</data>
<data name="coefficient_22">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-4</mn>
</data>
</unit>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_matrizen_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_multiplikation_von_matrizen'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_matrizen_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_multiplikation_von_matrizen'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">1</data></unit><unit name="subtask_1"><data name="matrix_user"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="Produktmatrix: " mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">60</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">27</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">-54</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">-39</mn></mrow>
</mtd>
</mtr>
</mtable></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_matrizen_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_linearkombination_von_matrizen'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_matrizen_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_linearkombination_von_matrizen'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="matrices">
<data name="coefficient_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">7</mn>
</data>
<data name="coefficient_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">6</mn>
</data>
<data name="coefficient_3">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">10</mn>
</data>
<data name="coefficient_4">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">8</mn>
</data>
<data name="coefficient_5">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">8</mn>
</data>
<data name="coefficient_6">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">6</mn>
</data>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_matrizen_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_linearkombination_von_matrizen'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_matrizen_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_linearkombination_von_matrizen'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">2</data></unit><unit name="subtask_1"><data name="matrixSum1"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">10</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">7</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">-12</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">21</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">-18</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">5</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">-11</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">7</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">17</mn></mrow>
</mtd>
</mtr>
</mtable></data></unit><unit name="subtask_2"><data name="matrixSum2"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">16</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">16</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">8</mn></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">14</mn></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="real" mf:type="number">-61</mn></mrow><mrow><mn mf:field="real" mf:type="number">2</mn></mrow></mfrac></mrow></mrow>
</mtd>
<mtd>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">-6</mn></mrow>
</mtd>
</mtr>
</mtable></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_orthogonale_unitaere_abbildungen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_schmidtsche_orthonormierung'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/3_real_with_scalar_product/3_1_euclidean_vector_spaces_and_the_Rn_with_scalar_product/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_orthogonale_unitaere_abbildungen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_schmidtsche_orthonormierung'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/3_real_with_scalar_product/3_1_euclidean_vector_spaces_and_the_Rn_with_scalar_product/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<data name="alpha">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-5</mn>
</data>
<data name="beta">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">5</mn>
</data>
<data name="gamma">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">4</mn>
</data>
<data name="delta">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
<data name="epsilon">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_orthogonale_unitaere_abbildungen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_schmidtsche_orthonormierung'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/3_real_with_scalar_product/3_1_euclidean_vector_spaces_and_the_Rn_with_scalar_product/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_orthogonale_unitaere_abbildungen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_schmidtsche_orthonormierung'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/3_real_with_scalar_product/3_1_euclidean_vector_spaces_and_the_Rn_with_scalar_product/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">2</data></unit><unit name="subtask_1"><data name="vector_w1"><mrow xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" class="column-vector" mf:field="op-number" mf:label="\\vec{w_1} = " mf:type="vector">
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">-3</mn></mrow><mrow><mn mf:field="rational" mf:type="number">5</mn></mrow></mfrac></mrow></mrow>
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">-4</mn></mrow><mrow><mn mf:field="rational" mf:type="number">5</mn></mrow></mfrac></mrow></mrow>
</mrow></data><data name="vector_l2"><mrow xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" class="column-vector" mf:field="op-number" mf:label="\\vec{l_2} = " mf:type="vector">
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">28</mn></mrow><mrow><mn mf:field="rational" mf:type="number">25</mn></mrow></mfrac></mrow></mrow>
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">-21</mn></mrow><mrow><mn mf:field="rational" mf:type="number">25</mn></mrow></mfrac></mrow></mrow>
</mrow></data><data name="vector_w2"><mrow xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" class="column-vector" mf:field="op-number" mf:label="\\vec{w_2} = " mf:type="vector">
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">4</mn></mrow><mrow><mn mf:field="rational" mf:type="number">5</mn></mrow></mfrac></mrow></mrow>
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">-3</mn></mrow><mrow><mn mf:field="rational" mf:type="number">5</mn></mrow></mfrac></mrow></mrow>
</mrow></data></unit><unit name="subtask_2"><data name="vector_w1b"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="\\vec{w_1} = " mf:type="vector">
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">-1</mn></mrow><mrow><mn mf:field="rational" mf:type="number">3</mn></mrow></mfrac></mrow></mrow>
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">-2</mn></mrow><mrow><mn mf:field="rational" mf:type="number">3</mn></mrow></mfrac></mrow></mrow>
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">-2</mn></mrow><mrow><mn mf:field="rational" mf:type="number">3</mn></mrow></mfrac></mrow></mrow>
</mrow></data><data name="vector_l2b"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="\\vec{l_2} = " mf:type="vector">
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">2</mn></mrow><mrow><mn mf:field="rational" mf:type="number">5</mn></mrow></mfrac></mrow></mrow>
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">1</mn></mrow><mrow><mn mf:field="rational" mf:type="number">5</mn></mrow></mfrac></mrow></mrow>
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">-2</mn></mrow><mrow><mn mf:field="rational" mf:type="number">5</mn></mrow></mfrac></mrow></mrow>
</mrow></data><data name="vector_w2b"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="\\vec{w_2} = " mf:type="vector">
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">2</mn></mrow><mrow><mn mf:field="rational" mf:type="number">3</mn></mrow></mfrac></mrow></mrow>
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">1</mn></mrow><mrow><mn mf:field="rational" mf:type="number">3</mn></mrow></mfrac></mrow></mrow>
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">-2</mn></mrow><mrow><mn mf:field="rational" mf:type="number">3</mn></mrow></mfrac></mrow></mrow>
</mrow></data><data name="vector_l3b"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="\\vec{l_3} = " mf:type="vector">
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">1</mn></mrow><mrow><mn mf:field="rational" mf:type="number">2</mn></mrow></mfrac></mrow></mrow>
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">-1</mn></mrow><mrow><mn mf:field="rational" mf:type="number">2</mn></mrow></mfrac></mrow></mrow>
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">1</mn></mrow><mrow><mn mf:field="rational" mf:type="number">4</mn></mrow></mfrac></mrow></mrow>
</mrow></data><data name="vector_w3b"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="\\vec{w_3} = " mf:type="vector">
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">2</mn></mrow><mrow><mn mf:field="rational" mf:type="number">3</mn></mrow></mfrac></mrow></mrow>
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">-2</mn></mrow><mrow><mn mf:field="rational" mf:type="number">3</mn></mrow></mfrac></mrow></mrow>
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">1</mn></mrow><mrow><mn mf:field="rational" mf:type="number">3</mn></mrow></mfrac></mrow></mrow>
</mrow></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_orthogonale_unitaere_abbildungen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_gram-schmidt_variante'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/3_real_with_scalar_product/3_1_euclidean_vector_spaces_and_the_Rn_with_scalar_product/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_orthogonale_unitaere_abbildungen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_gram-schmidt_variante'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/3_real_with_scalar_product/3_1_euclidean_vector_spaces_and_the_Rn_with_scalar_product/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<data name="a">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="b">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">4</mn>
</data>
<data name="c">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">4</mn>
</data>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_orthogonale_unitaere_abbildungen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_gram-schmidt_variante'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/3_real_with_scalar_product/3_1_euclidean_vector_spaces_and_the_Rn_with_scalar_product/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_orthogonale_unitaere_abbildungen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_gram-schmidt_variante'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/3_real_with_scalar_product/3_1_euclidean_vector_spaces_and_the_Rn_with_scalar_product/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">5</data></unit><unit name="subtask_1"><data name="q1"><mrow xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="q_1(x) = " mf:type="op-number" xmlns="http://www.w3.org/1998/Math/MathML"><mrow><mo>(</mo><mrow><mfrac><mrow><mn mf:field="real" mf:type="number">1</mn><mo>*</mo><msup><mi>x</mi><mn mf:field="real" mf:type="number">2</mn></msup></mrow><mrow><mn mf:field="real" mf:type="number">2</mn></mrow></mfrac></mrow><mo>)</mo><mo>+</mo><mo>(</mo><mrow><mfrac><mrow><mn mf:field="real" mf:type="number">1</mn><mo>*</mo><mi>x</mi></mrow><mrow><mn mf:field="real" mf:type="number">2</mn></mrow></mfrac></mrow><mo>)</mo><mo>+</mo><mo>(</mo><mrow><mfrac><mrow><mn mf:field="real" mf:type="number">1</mn></mrow><mrow><mn mf:field="real" mf:type="number">2</mn></mrow></mfrac></mrow><mo>)</mo></mrow></mrow></data></unit><unit name="subtask_2"><data name="l2"><mrow xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="l_2(x) = " mf:type="op-number" xmlns="http://www.w3.org/1998/Math/MathML"><mrow><mo>(</mo><mrow><mn mf:field="real" mf:type="number">8</mn><mo>*</mo><msup><mi>x</mi><mn mf:field="real" mf:type="number">2</mn></msup></mrow><mo>)</mo><mo>-</mo><mo>(</mo><mrow><mn mf:field="real" mf:type="number">4</mn><mo>*</mo><mi>x</mi></mrow><mo>)</mo></mrow></mrow></data></unit><unit name="subtask_3"><data name="q2"><mrow xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="q_2(x) = " mf:type="op-number" xmlns="http://www.w3.org/1998/Math/MathML"><mrow><mo>(</mo><mrow><mfrac><mrow><mn mf:field="real" mf:type="number">2</mn><mo>*</mo><msup><mi>x</mi><mn mf:field="real" mf:type="number">2</mn></msup></mrow><mrow><msqrt><mn mf:field="real" mf:type="number">6</mn></msqrt></mrow></mfrac></mrow><mo>)</mo><mo>-</mo><mo>(</mo><mrow><mfrac><mrow><mn mf:field="real" mf:type="number">1</mn></mrow><mrow><msqrt><mn mf:field="real" mf:type="number">6</mn></msqrt></mrow></mfrac></mrow><mo>)</mo></mrow></mrow></data></unit><unit name="subtask_4"><data name="l3"><mrow xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="l_3(x) = " mf:type="op-number" xmlns="http://www.w3.org/1998/Math/MathML"><mrow><mo>(</mo><mrow><mo>-</mo><msup><mi>x</mi><mn mf:field="real" mf:type="number">2</mn></msup></mrow><mo>)</mo><mo>-</mo><mo>(</mo><mi>x</mi><mo>)</mo><mo>+</mo><mn mf:field="real" mf:type="number">3</mn></mrow></mrow></data></unit><unit name="subtask_5"><data name="q3"><mrow xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="q_3(x) = " mf:type="op-number" xmlns="http://www.w3.org/1998/Math/MathML"><mrow><mo>(</mo><mrow><mfrac><mrow><mn mf:field="real" mf:type="number">-1</mn><mo>*</mo><msup><mi>x</mi><mn mf:field="real" mf:type="number">2</mn></msup></mrow><mrow><mo>(</mo><mrow><mn mf:field="real" mf:type="number">2</mn><mo>*</mo><msqrt><mn mf:field="real" mf:type="number">3</mn></msqrt></mrow><mo>)</mo></mrow></mfrac></mrow><mo>)</mo><mo>-</mo><mo>(</mo><mrow><mfrac><mrow><mn mf:field="real" mf:type="number">1</mn><mo>*</mo><mi>x</mi></mrow><mrow><mo>(</mo><mrow><mn mf:field="real" mf:type="number">2</mn><mo>*</mo><msqrt><mn mf:field="real" mf:type="number">3</mn></msqrt></mrow><mo>)</mo></mrow></mfrac></mrow><mo>)</mo><mo>+</mo><mo>(</mo><mrow><mfrac><mrow><mn mf:field="real" mf:type="number">3</mn></mrow><mrow><mo>(</mo><mrow><mn mf:field="real" mf:type="number">2</mn><mo>*</mo><msqrt><mn mf:field="real" mf:type="number">3</mn></msqrt></mrow><mo>)</mo></mrow></mfrac></mrow><mo>)</mo></mrow></mrow></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_orthogonale_unitaere_abbildungen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_orthogonale_abbildung'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/3_real_with_scalar_product/3_2_orthogonal_and_symmetric_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_orthogonale_unitaere_abbildungen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_orthogonale_abbildung'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/3_real_with_scalar_product/3_2_orthogonal_and_symmetric_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="matrix">
<data name="component_11">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-3</mn>
</data>
<data name="component_21">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_orthogonale_unitaere_abbildungen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_orthogonale_abbildung'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/3_real_with_scalar_product/3_2_orthogonal_and_symmetric_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_orthogonale_unitaere_abbildungen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_orthogonale_abbildung'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/3_real_with_scalar_product/3_2_orthogonal_and_symmetric_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">1</data></unit><unit name="subtask_1"><data name="matrix"><mtable xmlns="http://www.w3.org/1998/Math/MathML" class="bmatrix" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="A = " mf:type="matrix">
<mtr>
<mtd>
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">-3</mn></mrow><mrow><msqrt><mn mf:field="rational" mf:type="number">10</mn></msqrt></mrow></mfrac></mrow></mrow>
</mtd>
<mtd>
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">1</mn></mrow><mrow><msqrt><mn mf:field="rational" mf:type="number">10</mn></msqrt></mrow></mfrac></mrow></mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">1</mn></mrow><mrow><msqrt><mn mf:field="rational" mf:type="number">10</mn></msqrt></mrow></mfrac></mrow></mrow>
</mtd>
<mtd>
<mrow mf:field="rational" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="rational" mf:type="number">3</mn></mrow><mrow><msqrt><mn mf:field="rational" mf:type="number">10</mn></msqrt></mrow></mfrac></mrow></mrow>
</mtd>
</mtr>
</mtable></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_orthogonale_unitaere_abbildungen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_schrift_kapitel_08_09_ss_a'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/3_real_with_scalar_product/3_1_euclidean_vector_spaces_and_the_Rn_with_scalar_product/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_orthogonale_unitaere_abbildungen_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_schrift_kapitel_08_09_ss_a'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/3_real_with_scalar_product/3_1_euclidean_vector_spaces_and_the_Rn_with_scalar_product/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_koordinaten_und_basen'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_koordinaten_und_basen'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="vector_1">
<data name="coefficient_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">5</mn>
</data>
<data name="coefficient_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-3</mn>
</data>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_koordinaten_und_basen'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_koordinaten_und_basen'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">2</data></unit><unit name="subtask_1"><data name="coordsB1vector1"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="\\vec{v_B}$noc[ =]" mf:type="vector">
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">1</mn></mrow>
<mrow mf:field="real" mf:type="op-number"><mn mf:field="real" mf:type="number">4</mn></mrow>
</mrow></data><data name="vector_1"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="rational" mf:label="\\vec{v}$noc[ =]" mf:type="vector">
<mn mf:field="rational" mf:type="number">5</mn>
<mn mf:field="rational" mf:type="number">-3</mn>
</mrow></data></unit><unit name="subtask_2"><data name="coordsB2vector1"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="op-number" mf:label="\\vec{v_B}$noc[ =]" mf:type="vector">
<mrow mf:field="real" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="real" mf:type="number">-3</mn></mrow><mrow><mn mf:field="real" mf:type="number">2</mn></mrow></mfrac></mrow></mrow>
<mrow mf:field="real" mf:type="op-number"><mrow><mfrac><mrow><mn mf:field="real" mf:type="number">23</mn></mrow><mrow><mn mf:field="real" mf:type="number">4</mn></mrow></mfrac></mrow></mrow>
</mrow></data><data name="vector_1"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="rational" mf:label="\\vec{v}$noc[ =]" mf:type="vector">
<mn mf:field="rational" mf:type="number">5</mn>
<mn mf:field="rational" mf:type="number">-3</mn>
</mrow></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_erzeugenden-system'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_erzeugenden-system'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="polynom_1">
<data name="coefficient_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
<data name="coefficient_0">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">4</mn>
</data>
</unit>
<unit name="polynom_2">
<data name="coefficient_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
</unit>
<unit name="polynom_4">
<data name="coefficient_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">4</mn>
</data>
</unit>
<unit name="polynom_6">
<data name="coefficient_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-4</mn>
</data>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_erzeugenden-system'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_erzeugenden-system'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">1</data><unit name="subtask_1"><data name="selected_1"><mrow xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="op-number">
<mn mf:field="int" mf:type="number">2</mn>
<mi>x</mi>
</mrow></data><data name="selected_2"><mrow xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="op-number">
<mn mf:field="int" mf:type="number">4</mn>
<mi>x</mi>
</mrow></data><data name="selected_3"><mrow xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="op-number">
<mn mf:field="int" mf:type="number">2</mn>
<mi>x</mi>
<mo>+</mo>
<mn mf:field="int" mf:type="number">4</mn>
</mrow></data></unit></unit><unit name="subtask_1"><data name="selected_1">common/problem/polynom_2</data><data name="selected_2">common/problem/polynom_4</data><data name="selected_3">common/problem/polynom_1</data><data name="nrOfElements"><mn xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:hidden="true" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">3</mn></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_summary_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_darstellende-matrix_drehmomentabbildung'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_summary_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_darstellende-matrix_drehmomentabbildung'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="basis">
<data name="type">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
<data name="coefficient">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">4</mn>
</data>
</unit>
<unit name="vector_a">
<data name="component_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
<data name="component_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
<data name="component_3">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_summary_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_kern_bild_matrix-abbildung'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_summary_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_kern_bild_matrix-abbildung'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_2_linear_maps_and_matrices/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="vector_1">
<data name="component_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
<data name="component_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">4</mn>
</data>
</unit>
<unit name="vector_2">
<data name="component_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">4</mn>
</data>
<data name="component_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
</unit>
<unit name="vector_3">
<data name="component_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
<data name="component_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-4</mn>
</data>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_summary_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_lineare_unabhaengigkeit_in_rn'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_summary_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_lineare_unabhaengigkeit_in_rn'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_summary_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_lineare_unabhaengigkeit_in_rn'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_summary_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_lineare_unabhaengigkeit_in_rn'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">1</data><unit name="subtask_1"><data name="selected_1"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:type="vector">
<mn>1</mn>
<mn>0</mn>
<mn>0</mn>
</mrow></data><data name="selected_2"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:type="vector">
<mn>0</mn>
<mn>1</mn>
<mn>0</mn>
</mrow></data><data name="selected_3"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:type="vector">
<mn>0</mn>
<mn>0</mn>
<mn>1</mn>
</mrow></data></unit></unit><unit name="subtask_1"><data name="selected_1">common/problem/vectors/vector_1</data><data name="selected_2">common/problem/vectors/vector_2</data><data name="selected_3">common/problem/vectors/vector_3</data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_rn_cn_kn_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_linearkombination'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_rn_cn_kn_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_linearkombination'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="vector_1">
<data name="component_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
</unit>
<unit name="vector_2">
<data name="component_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">0</mn>
</data>
<data name="component_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-2</mn>
</data>
</unit>
<data name="coeff_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-2</mn>
</data>
<data name="coeff_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_rn_cn_kn_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_linearkombination'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_rn_cn_kn_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_linearkombination'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="currentSubtask">1</data></unit><unit name="subtask_1"><data name="alpha_1"><mrow xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="rational" mf:label="1. Koeffizient: " mf:type="op-number" xmlns="http://www.w3.org/1998/Math/MathML"><mn mf:field="rational" mf:type="number">-2</mn></mrow></data><data name="alpha_2"><mrow xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="rational" mf:label="2. Koeffizient: " mf:type="op-number" xmlns="http://www.w3.org/1998/Math/MathML"><mn mf:field="rational" mf:type="number">1</mn></mrow></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_rn_cn_kn_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_vektorraum'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_rn_cn_kn_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_vektorraum'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="subtask_1">
<unit name="vector_1">
<data name="component_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-5</mn>
</data>
</unit>
<unit name="vector_2">
<data name="component_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-10</mn>
</data>
</unit>
</unit>
<unit name="subtask_2">
<unit name="vector_1">
<data name="component_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
</unit>
<data name="coefficient_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">7</mn>
</data>
<unit name="vector_2">
<data name="component_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">8</mn>
</data>
</unit>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_rn_cn_kn_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_vektorraum'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_rn_cn_kn_prl'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prl_vektorraum'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="currentSubtask">2</data></unit><unit name="subtask_1"><data name="vec1"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="rational" mf:type="vector">
<mn mf:field="rational" mf:type="number">-15</mn>
<mfrac mf:field="rational" mf:type="number"><mn mf:field="int" mf:type="number">15</mn><mn mf:field="int" mf:type="number">4</mn></mfrac>
</mrow></data></unit><unit name="subtask_2"><data name="vec2"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="rational" mf:type="vector">
<mn mf:field="rational" mf:type="number">57</mn>
<mn mf:field="rational" mf:type="number">-3</mn>
</mrow></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_rn_cn_kn_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_schrift_kapitel_05_ss_b'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_rn_cn_kn_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_schrift_kapitel_05_ss_b'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_rn_cn_kn_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_vr-operationen_in_cn'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_rn_cn_kn_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_vr-operationen_in_cn'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="subtask_1">
<unit name="vector_1">
<data name="component_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-4</mn>
</data>
</unit>
<unit name="vector_2">
<unit name="re-components">
<data name="re-component_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-2</mn>
</data>
</unit>
</unit>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_rn_cn_kn_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_vr-operationen_in_cn'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_rn_cn_kn_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_vr-operationen_in_cn'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">5</data></unit><unit name="subtask_1"><data name="vsum1"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex-rational" mf:type="vector">
<mn mf:field="complex-rational" mf:type="number">0</mn>
<mfrac mf:field="complex-rational" mf:type="number"><mn mf:field="int" mf:type="number">-13</mn><mn mf:field="int" mf:type="number">4</mn></mfrac>
</mrow></data></unit><unit name="subtask_2"><data name="vsum2"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex-rational" mf:type="vector">
<cnum xmlns="http://www.mumie.net/xml-namespace/mathml-ext" mf:field="complex-rational" mf:type="number"><mn mf:field="rational" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">7</mn><mn mf:field="rational" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">-2</mn></cnum>
<cnum xmlns="http://www.mumie.net/xml-namespace/mathml-ext" mf:field="complex-rational" mf:type="number"><mn mf:field="rational" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">0</mn><mn mf:field="rational" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">9</mn></cnum>
</mrow></data></unit><unit name="subtask_3"><data name="vsum3"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex-rational" mf:type="vector">
<cnum xmlns="http://www.mumie.net/xml-namespace/mathml-ext" mf:field="complex-rational" mf:type="number"><mn mf:field="rational" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">2</mn><mn mf:field="rational" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">7</mn></cnum>
<cnum xmlns="http://www.mumie.net/xml-namespace/mathml-ext" mf:field="complex-rational" mf:type="number"><mn mf:field="rational" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">6</mn><mn mf:field="rational" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">-3</mn></cnum>
</mrow></data></unit><unit name="subtask_4"><data name="vsum4"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex-rational" mf:type="vector">
<cnum xmlns="http://www.mumie.net/xml-namespace/mathml-ext" mf:field="complex-rational" mf:type="number"><mn mf:field="rational" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">6</mn><mn mf:field="rational" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">3</mn></cnum>
<mn mf:field="complex-rational" mf:type="number">6</mn>
</mrow></data></unit><unit name="subtask_5"><data name="vsum5"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="complex-rational" mf:type="vector">
<mn mf:field="complex-rational" mf:type="number">5</mn>
<cnum xmlns="http://www.mumie.net/xml-namespace/mathml-ext" mf:field="complex-rational" mf:type="number"><mn mf:field="rational" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">4</mn><mn mf:field="rational" mf:type="number" xmlns="http://www.w3.org/1998/Math/MathML">6</mn></cnum>
<mn mf:field="complex-rational" mf:type="number">1</mn>
</mrow></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_rn_cn_kn_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_linearkombination_in_r2'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_rn_cn_kn_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_linearkombination_in_r2'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="vector_1">
<data name="component_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-3</mn>
</data>
</unit>
<unit name="vector_2">
<data name="component_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-2</mn>
</data>
<data name="component_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
</unit>
<unit name="vector_3">
<data name="component_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_rn_cn_kn_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_linearkombination_in_r2'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_rn_cn_kn_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_linearkombination_in_r2'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="currentSubtask">1</data></unit><unit name="subtask_1"><data name="coeff1"><mrow xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="1. Koeffizient: " mf:type="op-number" xmlns="http://www.w3.org/1998/Math/MathML"><mn mf:field="real" mf:type="number">1</mn></mrow></data><data name="coeff2"><mrow xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="2. Koeffizient: " mf:type="op-number" xmlns="http://www.w3.org/1998/Math/MathML"><mn mf:field="real" mf:type="number">3</mn></mrow></data><data name="coeff3"><mrow xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:label="3. Koeffizient: " mf:type="op-number" xmlns="http://www.w3.org/1998/Math/MathML"><mrow><mfrac><mrow><mn mf:field="real" mf:type="number">7</mn></mrow><mrow><mn mf:field="real" mf:type="number">2</mn></mrow></mfrac></mrow></mrow></data></unit></unit></unit></data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_rn_cn_kn_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_basen_in_rn'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_rn_cn_kn_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_basen_in_rn'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='personalized_problem_data'),
-- content:
E'<?xml version="1.0" encoding="ASCII"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet">
<unit name="user">
<unit name="problem">
<unit name="vectors">
<unit name="vector_1">
<data name="component_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="component_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-2</mn>
</data>
<data name="component_3">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-3</mn>
</data>
</unit>
<unit name="vector_2">
<data name="component_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">0</mn>
</data>
<data name="component_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
<data name="component_3">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">0</mn>
</data>
</unit>
<unit name="vector_3">
<data name="component_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">3</mn>
</data>
<data name="component_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
<data name="component_3">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-2</mn>
</data>
</unit>
<unit name="vector_4">
<data name="component_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-2</mn>
</data>
<data name="component_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
<data name="component_3">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
</unit>
<unit name="vector_5">
<data name="component_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">3</mn>
</data>
<data name="component_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="component_3">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">0</mn>
</data>
</unit>
<unit name="vector_6">
<data name="component_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-2</mn>
</data>
<data name="component_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
<data name="component_3">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-3</mn>
</data>
</unit>
<unit name="vector_7">
<data name="component_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
<data name="component_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
<data name="component_3">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
</unit>
<unit name="vector_8">
<data name="component_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-3</mn>
</data>
<data name="component_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-3</mn>
</data>
<data name="component_3">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">3</mn>
</data>
</unit>
<unit name="vector_9">
<data name="component_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-2</mn>
</data>
<data name="component_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">3</mn>
</data>
<data name="component_3">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">3</mn>
</data>
</unit>
<unit name="vector_10">
<data name="component_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-2</mn>
</data>
<data name="component_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">1</mn>
</data>
<data name="component_3">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-3</mn>
</data>
</unit>
<unit name="vector_11">
<data name="component_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-3</mn>
</data>
<data name="component_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-3</mn>
</data>
<data name="component_3">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">-1</mn>
</data>
</unit>
<unit name="vector_12">
<data name="component_1">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">3</mn>
</data>
<data name="component_2">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">2</mn>
</data>
<data name="component_3">
<mn xmlns="http://www.w3.org/1998/Math/MathML" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="int" mf:type="number">3</mn>
</data>
</unit>
</unit>
</unit>
</unit>
</data_sheet>');
INSERT INTO anns_user_worksheet_generic_problem
(the_user, ref, doc1, doc2, ann_type, content)
VALUES
(
-- the_user:
(SELECT id FROM users WHERE login_name = 'student9'),
-- ref:
(SELECT id FROM refs_worksheet_generic_problem
WHERE from_doc =
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_rn_cn_kn_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09'))
AND to_doc =
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_basen_in_rn'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/'))),
-- doc1:
(SELECT id FROM worksheets
WHERE pure_name='wks_vektorraeume_rn_cn_kn_hwk'
AND contained_in=section_id_for_path(0, 'org/tub/ss_09/courses/lineare_algebra_ss_09')),
-- doc2:
(SELECT id FROM generic_problems
WHERE pure_name='g_prb_basen_in_rn'
AND contained_in=section_id_for_path(0, 'content/tub/linear_algebra/problems/1_no_geometric_structure/1_1_vector_spaces_and_the_Kn/')),
-- ann_type:
(SELECT id FROM ann_types WHERE name='problem_answers'),
-- content:
E'<?xml version="1.0" encoding="ASCII" standalone="no"?><data_sheet xmlns="http://www.mumie.net/xml-namespace/data-sheet"><unit name="user"><unit name="answer"><unit name="generic"><data name="problemType">default</data><data name="currentSubtask">2</data><unit name="subtask_1"><data name="selected_1"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:type="vector">
<mn mf:field="int" mf:type="number">0</mn>
<mn mf:field="int" mf:type="number">-1</mn>
<mn mf:field="int" mf:type="number">0</mn>
</mrow></data><data name="selected_2"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:type="vector">
<mn mf:field="int" mf:type="number">3</mn>
<mn mf:field="int" mf:type="number">1</mn>
<mn mf:field="int" mf:type="number">0</mn>
</mrow></data><data name="selected_3"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:type="vector">
<mn mf:field="int" mf:type="number">1</mn>
<mn mf:field="int" mf:type="number">-2</mn>
<mn mf:field="int" mf:type="number">-3</mn>
</mrow></data></unit><unit name="subtask_2"><data name="selected_1"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:type="vector">
<mn mf:field="int" mf:type="number">3</mn>
<mn mf:field="int" mf:type="number">2</mn>
<mn mf:field="int" mf:type="number">-2</mn>
</mrow></data><data name="selected_2"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:type="vector">
<mn mf:field="int" mf:type="number">2</mn>
<mn mf:field="int" mf:type="number">-1</mn>
<mn mf:field="int" mf:type="number">-1</mn>
</mrow></data><data name="selected_3"><mrow xmlns="http://www.w3.org/1998/Math/MathML" class="column-vector" xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="real" mf:type="vector">
<mn mf:field="int" mf:type="number">-3</mn>
<mn mf:field="int" mf:type="number">-3</mn>
<mn mf:field="int" mf:type="number">3</mn>
</mrow></data></unit></unit><unit name="subtask_1"><data name="basisExists"><mtext xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="string" mf:label="Basis des ℝ^3 existiert: " mf:type="text" xmlns="http://www.w3.org/1998/Math/MathML">ja</mtext></data><data name="selected_1">common/problem/vectors/vector_2</data><data name="selected_2">common/problem/vectors/vector_5</data><data name="selected_3">common/problem/vectors/vector_1</data></unit><unit name="subtask_2"><data name="basisExists"><mtext xmlns:mf="http://www.mumie.net/xml-namespace/exercise-object-attributes" mf:field="string" mf:label="Basis des ℝ^3 existiert: " mf:type="text" xmlns="http://www.w3.org/1998/Math/MathML">ja</mtext></data><data name="selected_1">common/problem/vectors/vector_3</data><data name="selected_2">common/problem/vectors/vector_7</data><data name="selected_3">common/problem/vectors/vector_8</data></unit></unit></unit></data_sheet>');
|
-- Makes it so all of the following code will affect the employee_management_system_db" database.
USE employee_management_system_db;
-- DEPARTMENTS
-- Inserts department information into department table.
INSERT INTO department (department) VALUES
("Accessioning"),
("Accounting"),
("Billing"),
("Laboratory"),
("Human Resources"),
("Information Technology"),
("Management"),
("Phlebotomy"),
("Sales");
-- ROLES
-- Inserts role information into role table.
INSERT INTO role (title, salary, department_id) VALUES
("Chief Executive Officer", 6000000, 7),
("Chief Operating Officer", 3000000, 7),
("Chief Information Officer", 2500000, 7),
("Chief Compliance Officer", 2000000, 7),
("Accountant", 50000, 2),
("Billing Manager", 90000, 3),
("Billing Specialist", 50000, 3),
("Client Services", 50000, 9),
("Medical Technologists", 50000, 4),
("HR Manager", 1000000, 5),
("IT Manager", 90000, 6),
("IT Technician", 65000, 6),
("Laboratory Director", 200000, 7),
("Laboratory Manager", 90000, 7),
("Laboratory Supervisor", 75000, 4),
("Phlebotomy Manager", 60000, 8),
("Phlebotomist", 35000, 8),
("Sales Representative", 55000, 9),
("Specimen Accessioner", 30000, 1);
-- EMPLOYEES
-- Inserts employee information into employee table.
INSERT INTO employee (first_name, last_name, role_id, manager_id) VALUES
("Kenneth", "Petiote", 1, NULL),
("Nikola", "Tesla", 2, 1),
("Albert", "Einstein", 3, 1),
("Marie", "Currie", 4, 1),
("Richard", "Feynman", 5, 2),
("Charles", "Darwin", 6, 5),
("Alfred", "Nobel", 7, 6),
("Galileo", "Galilei", 8, 4),
("Ada", "Lovelace", 9, 4),
("Carl", "Linnaeus", 10, 1),
("Rosalind", "Franklin", 11, 3),
("Isaac", "Asimov", 12, 11),
("Isaac", "Newton", 13, 1),
("Robert", "FitzRoy", 14, 13),
("Jean-Baptiste", "Lamarck", 15, 14),
("Katharine", "McCormick", 16, 4),
("John", "Muir", 17, 16),
("Richard", "Dawkins", 18, 5),
("Bill", "Nye", 19, 16); |
/*INSERIDO O ROTEIRO*/
USE [DEV_SUPRA_DAQ]
GO
INSERT INTO [dbo].[CGOB_TB_ROTEIRO]
([id_roteiro]
,[desc_roteiro])
VALUES
(37
,'Relatório Mensal de Dragagem')
GO
|
<gh_stars>0
IF NOT EXISTS (
SELECT
*
FROM
sys.columns
WHERE
object_id = OBJECT_ID('[offenders]')
AND name = 'id'
)
ALTER TABLE
[offenders]
ADD
[id] int NOT NULL IDENTITY (1, 1)
ALTER TABLE
[offenders]
ADD
CONSTRAINT [PK_id] primary key(id);
|
-- phpMyAdmin SQL Dump
-- version 4.8.3
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1:3306
-- Generation Time: Dec 19, 2018 at 04:28 PM
-- Server version: 5.7.23
-- PHP Version: 7.2.10
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `employee`
--
-- --------------------------------------------------------
--
-- Table structure for table `employee`
--
DROP TABLE IF EXISTS `employee`;
CREATE TABLE IF NOT EXISTS `employee` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(100) NOT NULL,
`email` varchar(100) NOT NULL,
`address` varchar(200) NOT NULL,
`phone` int(14) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=11 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `employee`
--
INSERT INTO `employee` (`id`, `name`, `email`, `address`, `phone`) VALUES
(10, 'Nice', '<EMAIL>', 'nice house', 333333),
(3, 'khan', '<EMAIL>', 'khan', 123123),
(9, '<NAME>', '<EMAIL>', 'ali', 123213);
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
<reponame>cukabeka/podcastmanager
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* Author: georg
* Created: 20.09.2017
*/
DROP TABLE IF EXISTS `%TABLE_PREFIX%podcastmanager`;
DROP TABLE IF EXISTS `%TABLE_PREFIX%podcastmanager_categories`;
DELETE FROM `%TABLE_PREFIX%url_generate` WHERE `table` = '1_xxx_rex_podcastmanager';
DELETE FROM `%TABLE_PREFIX%url_generate` WHERE `table` LIKE '1_xxx_rex_podcastmanager_categories'; |
<gh_stars>0
-- phpMyAdmin SQL Dump
-- version 5.0.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jun 22, 2020 at 02:16 AM
-- Server version: 10.4.11-MariaDB
-- PHP Version: 7.4.6
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `pca`
--
-- --------------------------------------------------------
--
-- Table structure for table `contact_us`
--
CREATE TABLE `contact_us` (
`id` bigint(20) UNSIGNED NOT NULL,
`first_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`surname` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`mesage` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `events`
--
CREATE TABLE `events` (
`id` bigint(20) UNSIGNED NOT NULL,
`title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`description` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`date` date NOT NULL,
`time` time NOT NULL,
`venue` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`image` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`approved` tinyint(4) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `events`
--
INSERT INTO `events` (`id`, `title`, `description`, `date`, `time`, `venue`, `created_at`, `updated_at`, `image`, `approved`) VALUES
(1, 'Event One', '\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"', '2020-06-21', '17:00:00', 'Portstewart Town Hall', '2020-06-06 23:21:05', '2020-06-06 23:21:05', 'template.jpg', 1),
(2, 'Event Two', '\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"', '2020-06-21', '17:00:00', 'Portstewart Town Hall', '2020-06-06 23:24:42', '2020-06-06 23:24:42', 'template.jpg', 1),
(3, 'Event Three', '\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"', '2020-06-21', '17:00:00', 'Portstewart Town Hall', '2020-06-06 23:27:09', '2020-06-06 23:27:09', 'template.jpg', 1),
(4, 'Event Four', '\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"', '2020-06-21', '17:00:00', 'Portstewart Town Hall', '2020-06-06 23:28:47', '2020-06-06 23:28:47', 'pcaLogo.png', 1),
(5, 'Event Five', '\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"', '2020-06-07', '15:00:00', 'Portstewart Town Hall', '2020-06-07 20:54:54', '2020-06-07 20:54:54', '7dMneGbJqFy8xBRDD24xpM_1591566894.jpg', 0),
(6, 'Event Five', '\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"', '2020-06-16', '19:30:00', 'Portstewart Town Hall', '2020-06-09 16:37:32', '2020-06-09 16:37:32', 'pcaLogo.png', 1),
(7, 'Event Six', '\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"', '2020-06-12', '17:00:00', 'Portstewart Town Hall', '2020-06-09 16:37:32', '2020-06-09 16:37:32', 'pcaLogo.png', 1);
-- --------------------------------------------------------
--
-- Table structure for table `failed_jobs`
--
CREATE TABLE `failed_jobs` (
`id` bigint(20) UNSIGNED NOT NULL,
`connection` text COLLATE utf8mb4_unicode_ci NOT NULL,
`queue` text COLLATE utf8mb4_unicode_ci NOT NULL,
`payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`exception` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`failed_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `migrations`
--
CREATE TABLE `migrations` (
`id` int(10) UNSIGNED NOT NULL,
`migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `migrations`
--
INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(1, '2014_10_12_000000_create_users_table', 1),
(2, '2014_10_12_100000_create_password_resets_table', 1),
(3, '2019_08_19_000000_create_failed_jobs_table', 1),
(4, '2020_06_05_182750_create_roles_table', 2),
(5, '2020_06_05_182833_create_role_user_table', 2),
(6, '2020_06_07_001410_create_events_table', 3),
(7, '2020_06_07_002206_add_image_to_events_table', 4),
(8, '2020_06_07_003429_create_news_table', 5),
(9, '2020_06_07_005158_create_subs_table', 6),
(10, '2020_06_07_011943_create_contact_us_table', 7),
(11, '2020_06_07_235310_add_approved_to_events_table', 7),
(12, '2020_06_15_101419_add_interest_form_approved_to_users', 8);
-- --------------------------------------------------------
--
-- Table structure for table `news`
--
CREATE TABLE `news` (
`id` bigint(20) UNSIGNED NOT NULL,
`title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`story` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`image` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `news`
--
INSERT INTO `news` (`id`, `title`, `story`, `image`, `created_at`, `updated_at`) VALUES
(1, 'COVID-19 Response', '\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"', 'pcaLogo.png', '2020-06-06 23:37:07', '2020-06-06 23:37:07'),
(2, 'Project 2', '\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"', 'pcaLogo.png', '2020-06-06 23:38:07', '2020-06-06 23:38:07'),
(3, 'Project 3', '\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"', 'pcaLogo.png', '2020-06-06 23:39:02', '2020-06-06 23:39:02');
-- --------------------------------------------------------
--
-- Table structure for table `password_resets`
--
CREATE TABLE `password_resets` (
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`token` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `roles`
--
CREATE TABLE `roles` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp(),
`updated_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `roles`
--
INSERT INTO `roles` (`id`, `name`, `created_at`, `updated_at`) VALUES
(1, 'Admin', '2020-06-06 20:37:10', '2020-06-06 20:37:10'),
(2, 'Author', '2020-06-06 20:37:10', '2020-06-06 20:37:10'),
(3, 'Committee Member', '2020-06-06 20:37:10', '2020-06-06 20:37:10'),
(4, 'Event manager', '2020-06-07 22:02:33', '2020-06-07 22:02:33'),
(5, 'Content Moderator', '2020-06-08 12:48:21', '2020-06-08 12:48:21'),
(6, 'Registered Interest', '2020-06-15 10:57:13', '2020-06-15 10:57:13');
-- --------------------------------------------------------
--
-- Table structure for table `role_user`
--
CREATE TABLE `role_user` (
`id` bigint(20) UNSIGNED NOT NULL,
`role_id` bigint(20) UNSIGNED NOT NULL,
`user_id` bigint(20) UNSIGNED NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp(),
`updated_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `role_user`
--
INSERT INTO `role_user` (`id`, `role_id`, `user_id`, `created_at`, `updated_at`) VALUES
(3, 3, 3, '2020-06-06 21:37:28', '2020-06-06 21:37:28'),
(5, 4, 4, '2020-06-07 22:02:54', '2020-06-07 22:02:54'),
(6, 1, 1, '2020-06-08 14:09:20', '2020-06-08 14:09:20'),
(9, 5, 1, '2020-06-10 21:09:55', '2020-06-10 21:09:55'),
(14, 3, 11, '2020-06-14 20:40:00', '2020-06-14 20:40:00'),
(18, 6, 14, '2020-06-16 21:45:38', '2020-06-16 21:45:38'),
(19, 6, 15, '2020-06-17 14:52:48', '2020-06-17 14:52:48'),
(20, 6, 16, '2020-06-17 14:56:17', '2020-06-17 14:56:17'),
(25, 3, 1, '2020-06-20 12:43:01', '2020-06-20 12:43:01'),
(28, 3, 29, '2020-06-21 16:47:07', '2020-06-21 16:47:07');
-- --------------------------------------------------------
--
-- Table structure for table `subs`
--
CREATE TABLE `subs` (
`id` bigint(20) UNSIGNED NOT NULL,
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`email_verified_at` timestamp NULL DEFAULT NULL,
`password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`id`, `name`, `email`, `email_verified_at`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES
(1, 'Admin', '<EMAIL>', NULL, '$2y$10$/dIt7cszkUtUEcoHxNeXGuCoGLJ/RNzsrx2rLI.KYuGxlumAdcGTm', NULL, '2020-06-08 13:08:21', '2020-06-08 13:08:21'),
(3, 'Committee Member', '<EMAIL>', NULL, '$2y$10$FTjMIFE/rcRRADM.2anzu.lAoIThk61vZ7BgBMuYmJSkizbSYYq.K', NULL, '2020-06-06 20:37:11', '2020-06-07 00:00:15'),
(4, 'Event Manager', '<EMAIL>', NULL, '$2y$10$6U8.g85gMyZQooK1kuPqouMoo0bgKZRmgZemkLVM8I2b7YGItEfWe', NULL, '2020-06-07 21:03:41', '2020-06-07 21:03:41'),
(11, 'Test', '<EMAIL>', NULL, '$2y$10$9HCosPZdHCh87c.0e8c5OOiymT4QJQXawVeFh6GCyF.jKyyaAzTAq', NULL, '2020-06-14 19:40:00', '2020-06-14 19:40:00'),
(14, 'Test 2', '<EMAIL>', NULL, '$2y$10$JfSR1UNDSES5QwKNs69Roe.42tje01Wcd/7BVAD2SXuNwqNr.idd.', NULL, '2020-06-16 20:45:38', '2020-06-16 20:45:38'),
(15, 'Test 3', '<EMAIL>', NULL, '$2y$10$./uciVyXGwCeAA0X1eh/vejGqcl5XNGwxRf5UrB8xk6EbPZnsfSnG', NULL, '2020-06-17 13:52:48', '2020-06-17 13:52:48'),
(16, 'Test 4', '<EMAIL>', NULL, '$2y$10$eLgrfOpq7Teg/6f.Pm0fEO0MciNQCJdQiPCJPOnYB.5Hee0pXdGLi', NULL, '2020-06-17 13:56:17', '2020-06-17 13:56:17'),
(29, 'Harley', '<EMAIL>', NULL, '$2y$10$76667rlNFvvdcbfpXUBZ/OUXCzOob/UOl9zRuMZVRdYQS6fGxIR9C', NULL, '2020-06-21 15:47:07', '2020-06-21 15:47:07');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `contact_us`
--
ALTER TABLE `contact_us`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `events`
--
ALTER TABLE `events`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `migrations`
--
ALTER TABLE `migrations`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `news`
--
ALTER TABLE `news`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `password_resets`
--
ALTER TABLE `password_resets`
ADD KEY `password_resets_email_index` (`email`);
--
-- Indexes for table `roles`
--
ALTER TABLE `roles`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `role_user`
--
ALTER TABLE `role_user`
ADD PRIMARY KEY (`id`),
ADD KEY `role_id` (`role_id`),
ADD KEY `user_id` (`user_id`);
--
-- Indexes for table `subs`
--
ALTER TABLE `subs`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `users_email_unique` (`email`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `contact_us`
--
ALTER TABLE `contact_us`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `events`
--
ALTER TABLE `events`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
--
-- AUTO_INCREMENT for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
--
-- AUTO_INCREMENT for table `news`
--
ALTER TABLE `news`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `roles`
--
ALTER TABLE `roles`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `role_user`
--
ALTER TABLE `role_user`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=29;
--
-- AUTO_INCREMENT for table `subs`
--
ALTER TABLE `subs`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=30;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `role_user`
--
ALTER TABLE `role_user`
ADD CONSTRAINT `role_user_ibfk_1` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`),
ADD CONSTRAINT `role_user_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`);
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
/* ---- PARAMS ---- */
CREATE TABLE staking_params
(
one_row_id BOOLEAN NOT NULL DEFAULT TRUE PRIMARY KEY,
params JSONB NOT NULL,
height BIGINT NOT NULL,
CHECK (one_row_id)
);
CREATE INDEX staking_params_height_index ON staking_params (height);
/* ---- POOL ---- */
CREATE TABLE staking_pool
(
one_row_id BOOLEAN NOT NULL DEFAULT TRUE PRIMARY KEY,
bonded_tokens BIGINT NOT NULL,
not_bonded_tokens BIGINT NOT NULL,
height BIGINT NOT NULL,
CHECK (one_row_id)
);
CREATE INDEX staking_pool_height_index ON staking_pool (height);
/* ---- VALIDATORS INFO ---- */
CREATE TABLE validator_info
(
consensus_address TEXT NOT NULL UNIQUE PRIMARY KEY REFERENCES validator (consensus_address),
operator_address TEXT NOT NULL UNIQUE,
self_delegate_address TEXT REFERENCES account (address),
max_change_rate TEXT NOT NULL,
max_rate TEXT NOT NULL,
height BIGINT NOT NULL
);
CREATE INDEX validator_info_operator_address_index ON validator_info (operator_address);
CREATE INDEX validator_info_self_delegate_address_index ON validator_info (self_delegate_address);
CREATE TABLE validator_description
(
validator_address TEXT NOT NULL REFERENCES validator (consensus_address) PRIMARY KEY,
moniker TEXT,
identity TEXT,
avatar_url TEXT,
website TEXT,
security_contact TEXT,
details TEXT,
height BIGINT NOT NULL
);
CREATE INDEX validator_description_height_index ON validator_description (height);
CREATE TABLE validator_commission
(
validator_address TEXT NOT NULL REFERENCES validator (consensus_address) PRIMARY KEY,
commission DECIMAL NOT NULL,
min_self_delegation BIGINT NOT NULL,
height BIGINT NOT NULL
);
CREATE INDEX validator_commission_height_index ON validator_commission (height);
CREATE TABLE validator_voting_power
(
validator_address TEXT NOT NULL REFERENCES validator (consensus_address) PRIMARY KEY,
voting_power BIGINT NOT NULL,
height BIGINT NOT NULL REFERENCES block (height)
);
CREATE INDEX validator_voting_power_height_index ON validator_voting_power (height);
CREATE TABLE validator_status
(
validator_address TEXT NOT NULL REFERENCES validator (consensus_address) PRIMARY KEY,
status INT NOT NULL,
jailed BOOLEAN NOT NULL,
height BIGINT NOT NULL
);
CREATE INDEX validator_status_height_index ON validator_status (height);
/* ---- DELEGATIONS ---- */
/*
* This table holds the HISTORICAL delegations.
* It should be updated on a MESSAGE basis, to avoid data duplication.
*/
CREATE TABLE delegation
(
/* This is used to make it possible for Hasura to connect validator and self_delegations properly */
id SERIAL PRIMARY KEY NOT NULL,
validator_address TEXT NOT NULL REFERENCES validator (consensus_address),
delegator_address TEXT NOT NULL REFERENCES account (address),
amount COIN NOT NULL,
height BIGINT NOT NULL,
CONSTRAINT delegation_validator_delegator_unique UNIQUE (validator_address, delegator_address)
);
CREATE INDEX delegation_validator_address_index ON delegation (validator_address);
CREATE INDEX delegation_delegator_address ON delegation (delegator_address);
CREATE INDEX delegation_height_index ON delegation (height);
/**
* This function is used to add a self_delegations field to the validator table allowing to easily get all the
* self delegations related to a specific validator.
*/
CREATE FUNCTION self_delegations(validator_row validator) RETURNS SETOF delegation AS
$$
SELECT *
FROM delegation
WHERE delegator_address = (
SELECT self_delegate_address
FROM validator_info
WHERE validator_info.consensus_address = validator_row.consensus_address
)
$$ LANGUAGE sql STABLE;
/**
* This function is used to have a Hasura compute field (https://hasura.io/docs/1.0/graphql/core/schema/computed-fields.html)
* inside the delegation_history table, so that it's easy to determine whether an entry represents a self delegation or not.
*/
CREATE FUNCTION is_delegation_self_delegate(delegation_row delegation) RETURNS BOOLEAN AS
$$
SELECT (
SELECT self_delegate_address
FROM validator_info
WHERE validator_info.consensus_address = delegation_row.validator_address
) = delegation_row.delegator_address
$$ LANGUAGE sql STABLE;
/* ---- RE-DELEGATIONS ---- */
/*
* This table holds the HISTORICAL redelegations.
* It should be updated on a MESSAGE basis, to avoid data duplication.
*/
CREATE TABLE redelegation
(
delegator_address TEXT NOT NULL REFERENCES account (address),
src_validator_address TEXT NOT NULL REFERENCES validator (consensus_address),
dst_validator_address TEXT NOT NULL REFERENCES validator (consensus_address),
amount COIN NOT NULL,
completion_time TIMESTAMP WITHOUT TIME ZONE NOT NULL,
height BIGINT NOT NULL,
CONSTRAINT redelegation_validator_delegator_unique UNIQUE (delegator_address, src_validator_address,
dst_validator_address, amount, completion_time)
);
CREATE INDEX redelegation_delegator_address_index ON redelegation (delegator_address);
CREATE INDEX redelegation_src_validator_address_index ON redelegation (src_validator_address);
CREATE INDEX redelegation_dst_validator_address_index ON redelegation (dst_validator_address);
/* ---- UNBONDING DELEGATIONS ---- */
/*
* This table holds the HISTORICAL unbonding delegations.
* It should be updated on a MESSAGE basis, to avoid data duplication.
*/
CREATE TABLE unbonding_delegation
(
validator_address TEXT NOT NULL REFERENCES validator (consensus_address),
delegator_address TEXT NOT NULL REFERENCES account (address),
amount COIN NOT NUll,
completion_timestamp TIMESTAMP WITHOUT TIME ZONE NOT NULL,
height BIGINT NOT NULL,
CONSTRAINT unbonding_delegation_validator_delegator_unique UNIQUE (delegator_address, validator_address,
amount, completion_timestamp)
);
CREATE INDEX unbonding_delegation_validator_address_index ON unbonding_delegation (validator_address);
CREATE INDEX unbonding_delegation_delegator_address_index ON unbonding_delegation (delegator_address);
/* ---- ELAPSED DELEGATIONS --- */
/*
* This holds the list of addresses whose balances that should be refreshed when a redelegation or unbonding delegation
* has completed. We store them here cause we need to refresh them one block after the delegation has completed.
*/
CREATE TABLE delegators_to_refresh
(
address TEXT NOT NULL REFERENCES account (address),
height BIGINT NOT NULL,
CONSTRAINT unique_address UNIQUE (address)
);
/* ---- DOUBLE SIGN EVIDENCE ---- */
/*
* This holds the votes that is the evidence of a double sign.
* It should be updated on a BLOCK basis when a double sign occurs.
*/
CREATE TABLE double_sign_vote
(
id SERIAL PRIMARY KEY,
type SMALLINT NOT NULL,
height BIGINT NOT NULL,
round INT NOT NULL,
block_id TEXT NOT NULL,
validator_address TEXT NOT NULL REFERENCES validator (consensus_address),
validator_index INT NOT NULL,
signature TEXT NOT NULL,
UNIQUE (block_id, validator_address)
);
CREATE INDEX double_sign_vote_validator_address_index ON double_sign_vote (validator_address);
CREATE INDEX double_sign_vote_height_index ON double_sign_vote (height);
/*
* This holds the double sign evidences.
* It should be updated on a on BLOCK basis.
*/
CREATE TABLE double_sign_evidence
(
height BIGINT NOT NULL,
vote_a_id BIGINT NOT NULL REFERENCES double_sign_vote (id),
vote_b_id BIGINT NOT NULL REFERENCES double_sign_vote (id)
);
CREATE INDEX double_sign_evidence_height_index ON double_sign_evidence (height); |
/*
Warnings:
- A unique constraint covering the columns `[publicId]` on the table `Competitor` will be added. If there are existing duplicate values, this will fail.
- A unique constraint covering the columns `[publicId]` on the table `User` will be added. If there are existing duplicate values, this will fail.
*/
-- CreateIndex
CREATE UNIQUE INDEX "Competitor.publicId_unique" ON "Competitor"("publicId");
-- CreateIndex
CREATE UNIQUE INDEX "User.publicId_unique" ON "User"("publicId");
|
-- MySQL dump 10.16 Distrib 10.1.44-MariaDB, for debian-linux-gnu (x86_64)
--
-- Host: localhost Database: campeonato
-- ------------------------------------------------------
-- Server version 10.4.11-MariaDB
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `jogos`
--
DROP TABLE IF EXISTS `jogos`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jogos` (
`id_jogo` int(11) NOT NULL AUTO_INCREMENT,
`rodada` int(11) NOT NULL,
`data_jogo` date DEFAULT NULL,
`local_jogo` varchar(50) DEFAULT NULL,
`clube_mandante` varchar(45) DEFAULT NULL,
`clube_visitante` varchar(45) DEFAULT NULL,
`gols_mandate` int(11) DEFAULT 0,
`gols_visitante` int(11) DEFAULT 0,
PRIMARY KEY (`id_jogo`)
) ENGINE=InnoDB AUTO_INCREMENT=381 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jogos`
--
LOCK TABLES `jogos` WRITE;
/*!40000 ALTER TABLE `jogos` DISABLE KEYS */;
INSERT INTO `jogos` VALUES (1,1,'2020-05-30','<NAME>','Flamengo','Atlético-MG',5,5),(2,1,'2020-05-30','<NAME>','Botafogo','Bahia',4,3),(3,1,'2020-05-30','<NAME>','Palmeiras','Vasco da Gama',4,1),(4,1,'2020-05-30','<NAME>','Santos','Bragantino',4,0),(5,1,'2020-05-30','Arena Corinthians','Corinthians','Atlético-GO',3,0),(6,1,'2020-05-31','Arena do Grêmio','Grêmio','Fluminense',4,4),(7,1,'2020-05-31','Aldemar da Costa Carvalho','Sport','Ceará',4,5),(8,1,'2020-05-31','<NAME>','Coritiba','Internacional',1,5),(9,1,'2020-05-31','Presidente Vargas','Fortaleza','Athletico Paranaense',0,0),(10,1,'2020-05-31','<NAME>','Goiás','São Paulo',2,0),(11,2,'2020-06-06','<NAME>','Fluminense','Palmeiras',2,2),(12,2,'2020-06-06','São Januário','Vasco da Gama','Sport',0,3),(13,2,'2020-06-06','Morumbi','São Paulo','Fortaleza',4,2),(14,2,'2020-06-06','<NAME>','Bragantino','Botafogo',2,3),(15,2,'2020-06-06','Mineirão','Atlético-MG','Corinthians',0,4),(16,2,'2020-06-07','Beira-Rio','Internacional','Santos',0,4),(17,2,'2020-06-07','Itaipava Arena Fonte','Bahia','Coritiba',2,4),(18,2,'2020-06-07','<NAME>','Athletico Paranaense','Goiás',2,1),(19,2,'2020-06-07','Arena Castelão','Ceará','Grêmio',1,1),(20,2,'2020-06-07','<NAME>','Atlético-GO','Flamengo',0,5),(21,3,'2020-06-13','<NAME>','Fluminense','Internacional',0,0),(22,3,'2020-06-13','São Januário','Vasco da Gama','São Paulo',0,0),(23,3,'2020-06-13','<NAME>','Palmeiras','Goiás',0,0),(24,3,'2020-06-13','<NAME>','Santos','Athletico Paranaense',0,0),(25,3,'2020-06-13','Mineirão','Atlético-MG','Ceará',0,0),(26,3,'2020-06-14','Arena do Grêmio','Grêmio','Corinthians',0,0),(27,3,'2020-06-14','Itaipava Arena Fonte','Bahia','Bragantino',0,0),(28,3,'2020-06-14','<NAME>','Coritiba','Flamengo',0,0),(29,3,'2020-06-14','<NAME>','Fortaleza','Botafogo',0,0),(30,3,'2020-06-14','<NAME>','Atlético-GO','Sport',0,0),(31,4,'2020-06-20','<NAME>','Flamengo','Grêmio',0,0),(32,4,'2020-06-20','<NAME>','Botafogo','Atlético-MG',0,0),(33,4,'2020-06-20','Morumbi','São Paulo','Bahia',0,0),(34,4,'2020-06-20','<NAME>','Bragantino','Fluminense',0,0),(35,4,'2020-06-20','Arena Corinthians','Corinthians','Coritiba',0,0),(36,4,'2020-06-21','<NAME>','Sport','Santos',0,0),(37,4,'2020-06-21','<NAME>','Athletico Paranaense','Palmeiras',0,0),(38,4,'2020-06-21','Arena Castelão','Ceará','Vasco da Gama',0,0),(39,4,'2020-06-21','<NAME>','Goiás','Fortaleza',0,0),(40,4,'2020-06-21','Beira-Rio','Internacional','Atlético-GO',0,0),(41,5,'2020-06-27','<NAME>','Flamengo','Botafogo',0,0),(42,5,'2020-06-27','São Januário','Vasco da Gama','Grêmio',0,0),(43,5,'2020-06-27','<NAME>','Palmeiras','Santos',0,0),(44,5,'2020-06-27','<NAME>','Bragantino','Coritiba',0,0),(45,5,'2020-06-27','Arena Corinthians','Corinthians','Fortaleza',0,0),(46,5,'2020-06-28','Beira-Rio','Internacional','Atlético-MG',0,0),(47,5,'2020-06-28','<NAME> Carvalho','Sport','São Paulo',0,0),(48,5,'2020-06-28','<NAME>','Athletico Paranaense','Fluminense',0,0),(49,5,'2020-06-28','Arena Castelão','Ceará','Bahia',0,0),(50,5,'2020-06-28','<NAME>','Goiás','Atlético-GO',0,0),(51,6,'2020-07-04','<NAME>','Fluminense','Vasco da Gama',0,0),(52,6,'2020-07-04','<NAME>','Botafogo','Internacional',0,0),(53,6,'2020-07-04','Morumbi','São Paulo','Corinthians',0,0),(54,6,'2020-07-04','<NAME>','Santos','Flamengo',0,0),(55,6,'2020-07-04','Mineirão','Atlético-MG','Athletico Paranaense',0,0),(56,6,'2020-07-05','Arena do Grêmio','Grêmio','Goiás',0,0),(57,6,'2020-07-05','Itaipava Arena Fonte','Bahia','Palmeiras',0,0),(58,6,'2020-07-05','<NAME>','Coritiba','Sport',0,0),(59,6,'2020-07-05','Pres<NAME>','Fortaleza','Bragantino',0,0),(60,6,'2020-07-05','<NAME>','Atlético-GO','Ceará',0,0),(61,7,'2020-07-11','<NAME>','Fluminense','Atlético-GO',0,0),(62,7,'2020-07-11','Arena Castelão','Ceará','Fortaleza',0,0),(63,7,'2020-07-11','<NAME>','Athletico Paranaense','Bragantino',0,0),(64,7,'2020-07-11','Itaipava Arena Fonte','Bahia','Flamengo',0,0),(65,7,'2020-07-11','Arena do Grêmio','Grêmio','Sport',0,0),(66,7,'2020-07-12','Mineirão','Atlético-MG','São Paulo',0,0),(67,7,'2020-07-12','<NAME>','Santos','Vasco da Gama',0,0),(68,7,'2020-07-12','<NAME>','Palmeiras','Internacional',0,0),(69,7,'2020-07-12','<NAME>','Botafogo','Coritiba',0,0),(70,7,'2020-07-12','<NAME>','Goiás','Corinthians',0,0),(71,8,'2020-07-18','<NAME>','Flamengo','Fortaleza',0,0),(72,8,'2020-07-18','São Januário','Vasco da Gama','Athletico Paranaense',0,0),(73,8,'2020-07-18','Morumbi','São Paulo','Fluminense',0,0),(74,8,'2020-07-18','<NAME>','Atlético-GO','Grêmio',0,0),(75,8,'2020-07-18','Arena Castelão','Ceará','Santos',0,0),(76,8,'2020-07-19','<NAME>','Coritiba','Atlético-MG',0,0),(77,8,'2020-07-19','<NAME>','Sport','Goiás',0,0),(78,8,'2020-07-19','Beira-Rio','Internacional','Bahia',0,0),(79,8,'2020-07-19','Arena Corinthians','Corinthians','Botafogo',0,0),(80,8,'2020-07-19','<NAME>','Bragantino','Palmeiras',0,0),(81,9,'2020-07-25','<NAME>','Santos','Atlético-MG',0,0),(82,9,'2020-07-25','<NAME>','Goiás','Coritiba',0,0),(83,9,'2020-07-25','Pres<NAME>','Fortaleza','Sport',0,0),(84,9,'2020-07-25','<NAME>','Athletico Paranaense','Botafogo',0,0),(85,9,'2020-07-25','Itaipava Arena Fonte','Bahia','Grêmio',0,0),(86,9,'2020-07-26','Beira-Rio','Internacional','Ceará',0,0),(87,9,'2020-07-26','Arena Corinthians','Corinthians','Palmeiras',0,0),(88,9,'2020-07-26','Morumbi','São Paulo','Bragantino',0,0),(89,9,'2020-07-26','São Januário','Vasco da Gama','Atlético-GO',0,0),(90,9,'2020-07-26','<NAME>','Fluminense','Flamengo',0,0),(91,10,'2020-08-01','<NAME>','Palmeiras','Sport',0,0),(92,10,'2020-08-01','<NAME>','Botafogo','Vasco da Gama',0,0),(93,10,'2020-08-01','<NAME>','Fluminense','Corinthians',0,0),(94,10,'2020-08-01','Mineirão','Atlético-MG','Bragantino',0,0),(95,10,'2020-08-01','<NAME>','Santos','São Paulo',0,0),(96,10,'2020-08-02','Arena do Grêmio','Grêmio','Fortaleza',0,0),(97,10,'2020-08-02','Itaipava Arena Fonte','Bahia','Atlético-GO',0,0),(98,10,'2020-08-02','<NAME>','Goiás','Internacional',0,0),(99,10,'2020-08-02','Arena Castelão','Ceará','Flamengo',0,0),(100,10,'2020-08-02','<NAME>','Athletico Paranaense','Coritiba',0,0),(101,11,'2020-08-08','<NAME>','Coritiba','Vasco da Gama',0,0),(102,11,'2020-08-08','Ant<NAME>','Atlético-GO','Atlético-MG',0,0),(103,11,'2020-08-08','Pres<NAME>','Fortaleza','Internacional',0,0),(104,11,'2020-08-08','<NAME>','Sport','Fluminense',0,0),(105,11,'2020-08-08','Arena do Grêmio','Grêmio','Palmeiras',0,0),(106,11,'2020-08-09','Arena Corinthians','Corinthians','Bahia',0,0),(107,11,'2020-08-09','<NAME>','Bragantino','Ceará',0,0),(108,11,'2020-08-09','Morumbi','São Paulo','Athletico Paranaense',0,0),(109,11,'2020-08-09','<NAME>','Botafogo','Santos',0,0),(110,11,'2020-08-09','<NAME>','Flamengo','Goiás',0,0),(111,12,'2020-08-15','<NAME>','Sport','Corinthians',0,0),(112,12,'2020-08-15','Beira-Rio','Internacional','São Paulo',0,0),(113,12,'2020-08-15','Mineirão','Atlético-MG','Grêmio',0,0),(114,12,'2020-08-15','<NAME>','Santos','Fortaleza',0,0),(115,12,'2020-08-15','<NAME>','Palmeiras','Flamengo',0,0),(116,12,'2020-08-16','São Januário','Vasco da Gama','Bragantino',0,0),(117,12,'2020-08-16','<NAME>','Fluminense','Coritiba',0,0),(118,12,'2020-08-16','Arena Castelão','Ceará','Goiás',0,0),(119,12,'2020-08-16','<NAME>','Athletico Paranaense','Bahia',0,0),(120,12,'2020-08-16','<NAME>','Atlético-GO','Botafogo',0,0),(121,13,'2020-08-22','<NAME>','Flamengo','Athletico Paranaense',0,0),(122,13,'2020-08-22','<NAME>','Goiás','Santos',0,0),(123,13,'2020-08-22','<NAME>','Fortaleza','Atlético-GO',0,0),(124,13,'2020-08-22','<NAME>','Coritiba','São Paulo',0,0),(125,13,'2020-08-22','Itaipava Arena Fonte','Bahia','Sport',0,0),(126,13,'2020-08-23','Arena do Grêmio','Grêmio','Internacional',0,0),(127,13,'2020-08-23','Mineirão','Atlético-MG','Vasco da Gama',0,0),(128,13,'2020-08-23','<NAME>','Bragantino','Corinthians',0,0),(129,13,'2020-08-23','<NAME>','Palmeiras','Ceará',0,0),(130,13,'2020-08-23','<NAME>','Botafogo','Fluminense',0,0),(131,14,'2020-08-29','<NAME>','Botafogo','Palmeiras',0,0),(132,14,'2020-08-29','<NAME>','Goiás','Fluminense',0,0),(133,14,'2020-08-29','<NAME>','Fortaleza','Altético-MG',0,0),(134,14,'2020-08-29','<NAME>','Athletico Paranaense','Ceará',0,0),(135,14,'2020-08-29','Itaipava Arena Fonte','Bahia','Vasco da Gama',0,0),(136,14,'2020-08-30','Arena do Grêmio','Grêmio','Coritiba',0,0),(137,14,'2020-08-30','Arena Corinthians','Corinthians','Santos',0,0),(138,14,'2020-08-30','<NAME>','Bragantino','Internacional',0,0),(139,14,'2020-08-30','Morumbi','São Paulo','Atlético-GO',0,0),(140,14,'2020-08-30','<NAME>','Flamengo','Sport',0,0),(141,15,'2020-09-05','<NAME>','Atlético-GO','Bragantino',0,0),(142,15,'2020-09-05','Arena Castelão','Ceará','Corinthians',0,0),(143,15,'2020-09-05','<NAME>','Coritiba','Fortaleza',0,0),(144,15,'2020-09-05','<NAME>','Sport','Botafogo',0,0),(145,15,'2020-09-05','Beira-Rio','Internacional','Athletico Paranaense',0,0),(146,15,'2020-09-06','<NAME>','Santos','Grêmio',0,0),(147,15,'2020-09-06','Mineirão','Atlético-MG','Goiás',0,0),(148,15,'2020-09-06','<NAME>','Palmeiras','São Paulo',0,0),(149,15,'2020-09-06','São Januário','Vasco da Gama','Flamengo',0,0),(150,15,'2020-09-06','<NAME>','Fluminense','Bahia',0,0),(151,16,'2020-09-12','Arena do Grêmio','Grêmio','Botafogo',0,0),(152,16,'2020-09-12','<NAME>','Goiás','Bahia',0,0),(153,16,'2020-09-12','Arena Castelão','Ceará','São Paulo',0,0),(154,16,'2020-09-12','<NAME>','Athletico Paranaense','Corinthians',0,0),(155,16,'2020-09-12','<NAME>','Sport','Internacional',0,0),(156,16,'2020-09-13','Mineirão','Atlético-MG','Fluminense',0,0),(157,16,'2020-09-13','<NAME>','Santos','Atlético-GO',0,0),(158,16,'2020-09-13','<NAME>','Palmeiras','Coritiba',0,0),(159,16,'2020-09-13','São Januário','Vasco da Gama','Fortaleza',0,0),(160,16,'2020-09-13','<NAME>','Flamengo','Bragantino',0,0),(161,17,'2020-09-19','Arena Corinthians','Corinthians','Flamengo',0,0),(162,17,'2020-09-19','<NAME>','Bragantino','Sport',0,0),(163,17,'2020-09-19','Morumbi','São Paulo','Grêmio',0,0),(164,17,'2020-09-19','<NAME>','Botafogo','Goiás',0,0),(165,17,'2020-09-19','<NAME>','Fluminense','Ceará',0,0),(166,17,'2020-09-20','Itaipava Arena Fonte','Bahia','Atlético-MG',0,0),(167,17,'2020-09-20','Beira-Rio','Internacional','Vasco da Gama',0,0),(168,17,'2020-09-20','<NAME>','Coritiba','Santos',0,0),(169,17,'2020-09-20','Pres<NAME>','Fortaleza','Palmeiras',0,0),(170,17,'2020-09-20','Ant<NAME>','Atlético-GO','Athletico Paranaense',0,0),(171,18,'2020-09-26','Antô<NAME>','Atlético-GO','Palmeiras',0,0),(172,18,'2020-09-26','Arena Castelão','Ceará','Coritiba',0,0),(173,18,'2020-09-26','<NAME>','Athletico Paranaense','Grêmio',0,0),(174,18,'2020-09-26','Itaipava Arena Fonte','Bahia','Fortaleza',0,0),(175,18,'2020-09-26','Beira-Rio','Internacional','Flamengo',0,0),(176,18,'2020-09-27','Mineirão','Atlético-MG','Sport',0,0),(177,18,'2020-09-27','<NAME>','Bragantino','Goiás',0,0),(178,18,'2020-09-27','Morumbi','São Paulo','Botafogo',0,0),(179,18,'2020-09-27','São Januário','Vasco da Gama','Corinthians',0,0),(180,18,'2020-09-27','<NAME>','Fluminense','Santos',0,0),(181,19,'2020-10-03','<NAME>','Goiás','Vasco da Gama',0,0),(182,19,'2020-10-03','<NAME>','Fortaleza','Fluminense',0,0),(183,19,'2020-10-03','<NAME>','Coritiba','Atlético-GO',0,0),(184,19,'2020-10-03','<NAME>','Sport','Athletico Paranaense',0,0),(185,19,'2020-10-03','Arena do Grêmio','Grêmio','Bragantino',0,0),(186,19,'2020-10-04','Arena Corinthians','Corinthians','Internacional',0,0),(187,19,'2020-10-04','<NAME>','Santos','Bahia',0,0),(188,19,'2020-10-04','<NAME>','Palmeiras','Atlético-MG',0,0),(189,19,'2020-10-04','<NAME>','Botafogo','Ceará',0,0),(190,19,'2020-10-04','<NAME>','Flamengo','São Paulo',0,0),(191,20,'2020-10-10','Ant<NAME>','Atlético-GO','Corinthians',0,0),(192,20,'2020-10-10','Arena Castelão','Ceará','Sport',0,0),(193,20,'2020-10-10','<NAME>','Athletico Paranaense','Fortaleza',0,0),(194,20,'2020-10-10','Itaipava Arena Fonte','Bahia','Botafogo',0,0),(195,20,'2020-10-10','Beira-Rio','Internacional','Coritiba',0,0),(196,20,'2020-10-11','Mineirão','Atlético-MG','Flamengo',0,0),(197,20,'2020-10-11','<NAME>','Bragantino','Santos',0,0),(198,20,'2020-10-11','São Januário','Vasco da Gama','Palmeiras',0,0),(199,20,'2020-10-11','Morumbi','São Paulo','Goiás',0,0),(200,20,'2020-10-11','<NAME>','Fluminense','Grêmio',0,0),(201,21,'2020-10-17','<NAME>','Santos','Internacional',0,0),(202,21,'2020-10-17','<NAME>','Goiás','Athletico Parenaense',0,0),(203,21,'2020-10-17','<NAME>','Fortaleza','São Paulo',0,0),(204,21,'2020-10-17','<NAME>','Coritiba','Bahia',0,0),(205,21,'2020-10-17','<NAME>','Sport','Vasco',0,0),(206,21,'2020-10-18','Arena do Grêmio','Grêmio','Ceará',0,0),(207,21,'2020-10-18','Arena Corinthians','Corinthians','Atlético-MG',0,0),(208,21,'2020-10-18','<NAME>','Palmeiras','Fluminense',0,0),(209,21,'2020-10-18','<NAME>','Botafogo','Bragantino',0,0),(210,21,'2020-10-18','<NAME>','Flamengo','Atlético-GO',0,0),(211,22,'2020-10-24','Morumbi','São Paulo','Vasco da Gama',0,0),(212,22,'2020-10-24','<NAME>','Botafogo','Fortaleza',0,0),(213,22,'2020-10-24','<NAME>','Flamengo','Coritiba',0,0),(214,22,'2020-10-24','Arena Corinthians','Corinthians','Grêmio',0,0),(215,22,'2020-10-24','<NAME>','Bragantino','Bahia',0,0),(216,22,'2020-10-25','Beira-Rio','Internacional','Fluminense',0,0),(217,22,'2020-10-25','<NAME> Carvalho','Sport','Atlético-GO',0,0),(218,22,'2020-10-25','<NAME>','Goiás','Palmeiras',0,0),(219,22,'2020-10-25','Arena Castelão','Ceará','Atlético-MG',0,0),(220,22,'2020-10-25','<NAME>','Athletico Paranaense','Santos',0,0),(221,23,'2020-10-31','<NAME>','Coritiba','Corinthians',0,0),(222,23,'2020-10-31','<NAME>','Atlético-GO','Internacional',0,0),(223,23,'2020-10-31','Pres<NAME>','Fortaleza','Goiás',0,0),(224,23,'2020-10-31','Itaipava Arena Fonte','Bahia','São Paulo',0,0),(225,23,'2020-10-31','Arena do Grêmio','Grêmio','Flamengo',0,0),(226,23,'2020-11-01','Mineirão','Atlético-MG','Botafogo',0,0),(227,23,'2020-11-01','<NAME>','Palmeiras','Athletico Paranaense',0,0),(228,23,'2020-11-01','São Januário','Vasco da Gama','Ceará',0,0),(229,23,'2020-11-01','<NAME>','Fluminense','Bragantino',0,0),(230,23,'2020-11-01','<NAME>','Santos','Sport',0,0),(231,24,'2020-11-07','<NAME>','Atlético-GO','Goiás',0,0),(232,24,'2020-11-07','President<NAME>','Fortaleza','Corinthians',0,0),(233,24,'2020-11-07','<NAME>','Coritiba','Bragantino',0,0),(234,24,'2020-11-07','Itaipava Arena Fonte','Bahia','Ceará',0,0),(235,24,'2020-11-07','Arena do Grêmio','Grêmio','Vasco da Gama',0,0),(236,24,'2020-11-08','Mineirão','Atlético-MG','Internacional',0,0),(237,24,'2020-11-08','<NAME>','Santos','Palmeiras',0,0),(238,24,'2020-11-08','Morumbi','São Paulo','Sport',0,0),(239,24,'2020-11-08','<NAME>','Botafogo','Flamengo',0,0),(240,24,'2020-11-08','<NAME>','Fluminense','Athletico Paranaense',0,0),(241,25,'2020-11-14','<NAME>','Goiás','Grêmio',0,0),(242,25,'2020-11-14','Arena Castelão','Ceará','Atlético-GO',0,0),(243,25,'2020-11-14','<NAME>','Athletico Paranaense','Alético-MG',0,0),(244,25,'2020-11-14','<NAME>','Sport','Coritiba',0,0),(245,25,'2020-11-14','Beira-Rio','Internacional','Botafogo',0,0),(246,25,'2020-11-15','Arena Corinthians','Corinthians','São Paulo',0,0),(247,25,'2020-11-15','<NAME>','Bragantino','Fortaleza',0,0),(248,25,'2020-11-15','<NAME>','Palmeiras','Bahia',0,0),(249,25,'2020-11-15','São Januário','Vasco da Gama','Fluminense',0,0),(250,25,'2020-11-15','<NAME>','Flamengo','Santos',0,0),(251,26,'2020-11-21','São Januário','Vasco da Gama','Santos',0,0),(252,26,'2020-11-21','<NAME>','Atlético-GO','Fluminense',0,0),(253,26,'2020-11-21','<NAME>','Fortaleza','Ceará',0,0),(254,26,'2020-11-21','<NAME>','Coritiba','Botafogo',0,0),(255,26,'2020-11-21','<NAME>','Sport','Grêmio',0,0),(256,26,'2020-11-22','Beira-Rio','Internacional','Palmeiras',0,0),(257,26,'2020-11-22','Arena Corinthians','Corinthians','Goiás',0,0),(258,26,'2020-11-22','<NAME>','Bragantino','Athletico Paranaense',0,0),(259,26,'2020-11-22','Morumbi','São Paulo','Atlético-MG',0,0),(260,26,'2020-11-22','<NAME>','Flamengo','Bahia',0,0),(261,27,'2020-11-28','<NAME>','Botafogo','Corinthians',0,0),(262,27,'2020-11-28','<NAME>','Fluminense','São Paulo',0,0),(263,27,'2020-11-28','<NAME>','Palmeiras','Bragantino',0,0),(264,27,'2020-11-28','<NAME>','Santos','Ceará',0,0),(265,27,'2020-11-28','<NAME>','Goiás','Sport',0,0),(266,27,'2020-11-29','President<NAME>','Fortaleza','Flamengo',0,0),(267,27,'2020-11-29','<NAME>','Athletico Paranaense','Vasco da Gama',0,0),(268,27,'2020-11-29','Itaipava Arena Fonte','Bahia','Internacional',0,0),(269,27,'2020-11-29','Arena do Grêmio','Grêmio','Atlético-GO',0,0),(270,27,'2020-11-29','Mineirão','Atlético-MG','Coritiba',0,0),(271,28,'2020-12-05','Mineirão','Atlético-MG','Santos',0,0),(272,28,'2020-12-05','Antô<NAME>','Atlético-GO','Vasco da Gama',0,0),(273,28,'2020-12-05','Arena Castelão','Ceará','Internacional',0,0),(274,28,'2020-12-05','<NAME>','Coritiba','Goiás',0,0),(275,28,'2020-12-05','<NAME>','Sport','Fortaleza',0,0),(276,28,'2020-12-06','Arena do Grêmio','Grêmio','Bahia',0,0),(277,28,'2020-12-06','<NAME>','Bragantino','São Paulo',0,0),(278,28,'2020-12-06','<NAME>','Palmeiras','Corinthians',0,0),(279,28,'2020-12-06','<NAME>','Botafogo','Athletico Paranaense',0,0),(280,28,'2020-12-06','<NAME>','Flamengo','Fluminense',0,0),(281,29,'2020-12-09','<NAME>','Bragantino','Atlético-MG',0,0),(282,29,'2020-12-09','Morumbi','São Paulo','Santos',0,0),(283,29,'2020-12-09','Morumbi','São Paulo','Santos',0,0),(284,29,'2020-12-10','<NAME>','<NAME>','Botafogo',0,0),(285,29,'2020-12-10','<NAME>','Flamengo','Ceará',0,0),(286,29,'2020-12-10','Beira-Rio','Internacional','Goiás',0,0),(287,29,'2020-12-11','Arena Corinthians','Corinthians','Fluminense',0,0),(288,29,'2020-12-11','<NAME>','Sport','Palmeiras',0,0),(289,29,'2020-12-11','<NAME>','Atlético-GO','Bahia',0,0),(290,29,'2020-12-11','Presidente Vargas','Fortaleza','Grêmio',0,0),(291,30,'2020-12-12','Arena Castelão','Ceará','Bragantino',0,0),(292,30,'2020-12-12','<NAME>','Goiás','Flamengo',0,0),(293,30,'2020-12-12','<NAME>','Athletico Paranaense','São Paulo',0,0),(294,30,'2020-12-12','Itaipava Arena Fonte','Bahia','Corinthians',0,0),(295,30,'2020-12-12','Beira-Rio','Internacional','Fortaleza',0,0),(296,30,'2020-12-13','Mineirão','Atlético-MG','Atlético-GO',0,0),(297,30,'2020-12-13','<NAME>','Santos','Botafogo',0,0),(298,30,'2020-12-13','<NAME>','Palmeiras','Grêmio',0,0),(299,30,'2020-12-13','São Januário','Vasco da Gama','Coritiba',0,0),(300,30,'2020-12-13','<NAME>','Fluminense','Sport',0,0),(301,31,'2020-12-19','<NAME>','Coritiba','Fluminense',0,0),(302,31,'2020-12-19','Itaipava Arena Fonte','Bahia','Athletico Paranaense',0,0),(303,31,'2020-12-19','Arena do Grêmio','Grêmio','Atlético-MG',0,0),(304,31,'2020-12-19','Arena Corinthians','Corinthians','Sport',0,0),(305,31,'2020-12-19','<NAME>','Bragantino','Vasco da Gama',0,0),(306,31,'2020-12-19','Morumbi','São Paulo','Internacional',0,0),(307,31,'2020-12-19','<NAME>','Botafogo','Atlético-GO',0,0),(308,31,'2020-12-19','<NAME>','Flamengo','Palmeiras',0,0),(309,31,'2020-12-19','<NAME>','Goiás','Ceará',0,0),(310,31,'2020-12-19','<NAME>','Fortaleza','Santos',0,0),(311,32,'2020-12-20','<NAME>','Fluminense','Botafogo',0,0),(312,32,'2020-12-20','São Januário','Vasco da Gama','Atlético-MG',0,0),(313,32,'2020-12-20','<NAME>','Atlético-GO','Fortaleza',0,0),(314,32,'2020-12-20','Arena Castelão','Ceará','Palmeiras',0,0),(315,32,'2020-12-20','<NAME>','Athletico Paranaense','Flamengo',0,0),(316,32,'2020-12-20','<NAME>','Sport','Bahia',0,0),(317,32,'2020-12-20','Beira-Rio','Internacional','Grêmio',0,0),(318,32,'2020-12-20','Arena Corinthians','Corinthians','Bragantino',0,0),(319,32,'2020-12-20','<NAME>','Santos','Goiás',0,0),(320,32,'2020-12-20','Morumbi','São Paulo','Coritiba',0,0),(321,33,'2020-12-21','<NAME>','Palmeiras','Botafogo',0,0),(322,33,'2020-12-21','<NAME>','Atlético-GO','São Paulo',0,0),(323,33,'2020-12-21','Arena Castelão','Ceará','Athletico Paranaense',0,0),(324,33,'2020-12-21','<NAME>','Coritiba','Grêmio',0,0),(325,33,'2020-12-21','<NAME>','Sport','Flamengo',0,0),(326,33,'2020-12-21','Beira-Rio','Internacional','Bragantino',0,0),(327,33,'2020-12-21','Mineirão','Atlético-MG','Fortaleza',0,0),(328,33,'2020-12-21','<NAME>','Santos','Corinthians',0,0),(329,33,'2020-12-21','São Januário','Vasco da Gama','Bahia',0,0),(330,33,'2020-12-21','<NAME>','Fluminense','Goiás',0,0),(331,34,'2020-12-22','<NAME>','Goiás','Atlético-MG',0,0),(332,34,'2020-12-22','President<NAME>','Fortaleza','Coritiba',0,0),(333,34,'2020-12-22','<NAME>','Athletico Paranaense','Internacional',0,0),(334,34,'2020-12-22','Itaipava Arena Fonte','Bahia','Fluminense',0,0),(335,34,'2020-12-22','Arena Corinthians','Corinthians','Ceará',0,0),(336,34,'2020-12-22','Arena do Grêmio','Grêmio','Santos',0,0),(337,34,'2020-12-22','<NAME>','Bragantino','Atlético-GO',0,0),(338,34,'2020-12-22','Morumbi','São Paulo','Palmeiras',0,0),(339,34,'2020-12-22','<NAME>','Botafogo','Sport',0,0),(340,34,'2020-12-22','<NAME>','Flamengo','Vasco da Gama',0,0),(341,35,'2020-12-23','Itaipava Arena Fonte','Bahia','Goiás',0,0),(342,35,'2020-12-23','<NAME>','Atlético-GO','Santos',0,0),(343,35,'2020-12-23','<NAME>','Fortaleza','Vasco da Gama',0,0),(344,35,'2020-12-23','<NAME>','Coritiba','Palmeiras',0,0),(345,35,'2020-12-23','Beira-Rio','Internacional','Sport',0,0),(346,35,'2020-12-23','Arena Corinthians','Corinthians','Athletico Paranaense',0,0),(347,35,'2020-12-23','<NAME>','Bragantino','Flamengo',0,0),(348,35,'2020-12-23','Morumbi','São Paulo','Ceará',0,0),(349,35,'2020-12-23','<NAME>','Botafogo','Grêmio',0,0),(350,35,'2020-12-23','<NAME>','Fluminense','Atlético-MG',0,0),(351,36,'2020-12-24','Mineirão','Atlético-MG','Bahia',0,0),(352,36,'2020-12-24','<NAME>','Santos','Coritiba',0,0),(353,36,'2020-12-24','<NAME>','Palmeiras','Fortaleza',0,0),(354,36,'2020-12-24','São Januário','Vasco da Gama','Internacional',0,0),(355,36,'2020-12-24','<NAME>','Flamengo','Corinthians',0,0),(356,36,'2020-12-24','<NAME>','Sport','Bragantino',0,0),(357,36,'2020-12-24','Arena do Grêmio','Grêmio','São Paulo',0,0),(358,36,'2020-12-24','<NAME>','A<NAME>','Atlético-GO',0,0),(359,36,'2020-12-24','Arena Castelão','Ceará','Fluminense',0,0),(360,36,'2020-12-24','<NAME>','Goiás','Botafogo',0,0),(361,37,'2020-12-26','<NAME>','Goiás','Bragantino',0,0),(362,37,'2020-12-26','<NAME>','Fortaleza','Bahia',0,0),(363,37,'2020-12-26','<NAME>','Coritiba','Ceará',0,0),(364,37,'2020-12-26','<NAME> Carvalho','Sport','Atlético-MG',0,0),(365,37,'2020-12-26','Arena do Grêmio','Grêmio','Athletico Paranaense',0,0),(366,37,'2020-12-26','Arena Corinthians','Corinthians','Vasco da Gama',0,0),(367,37,'2020-12-26','<NAME>','Santos','Fluminense',0,0),(368,37,'2020-12-26','Al<NAME>','Palmeiras','Athletico Paranaense',0,0),(369,37,'2020-12-26','<NAME>','Botafogo','São Paulo',0,0),(370,37,'2020-12-26','<NAME>','Flamengo','Internacional',0,0),(371,38,'2020-12-27','Arena Castelão','Ceará','Botafogo',0,0),(372,38,'2020-12-27','<NAME>','Athletico Paranaense','Sport',0,0),(373,38,'2020-12-27','Itaipava Arena Fonte','Bahia','Santos',0,0),(374,38,'2020-12-27','Beira-Rio','Internacional','Corinthians',0,0),(375,38,'2020-12-27','Mineirão','Atlético-MG','Palmeiras',0,0),(376,38,'2020-12-27','<NAME>','Bragantino','Grêmio',0,0),(377,38,'2020-12-27','Morumbi','São Paulo','Flamengo',0,0),(378,38,'2020-12-27','São Januário','Vasco da Gama','Goiás',0,0),(379,38,'2020-12-27','<NAME>','Fluminense','Fortaleza',0,0),(380,38,'2020-12-27','<NAME>','Atlético-GO','Coritiba',0,0);
/*!40000 ALTER TABLE `jogos` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `requisitos`
--
DROP TABLE IF EXISTS `requisitos`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `requisitos` (
`idTime` int(11) NOT NULL AUTO_INCREMENT,
`pontos` int(11) DEFAULT 0,
`vitorias` int(11) DEFAULT 0,
`derrotas` int(11) DEFAULT 0,
`empates` int(11) DEFAULT 0,
`GP` int(11) DEFAULT 0,
`GC` int(11) DEFAULT 0,
`CA` int(11) DEFAULT 0,
`CV` int(11) DEFAULT 0,
UNIQUE KEY `idTime` (`idTime`),
CONSTRAINT `requisitos_ibfk_1` FOREIGN KEY (`idTime`) REFERENCES `times` (`id_clube`)
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `requisitos`
--
LOCK TABLES `requisitos` WRITE;
/*!40000 ALTER TABLE `requisitos` DISABLE KEYS */;
INSERT INTO `requisitos` VALUES (1,16,5,1,1,16,5,1,1),(2,7,2,4,1,12,21,2,0),(3,2,0,7,2,16,33,1,0),(4,10,3,4,1,19,22,4,0),(5,13,4,3,1,21,19,3,0),(6,10,3,3,1,13,12,0,0),(7,13,4,2,1,19,12,2,1),(8,13,4,2,1,20,12,1,0),(9,12,4,3,0,14,18,3,0),(10,23,7,0,2,34,16,3,0),(11,9,2,2,3,19,18,3,0),(12,4,1,5,1,6,18,4,1),(13,9,3,4,0,10,8,1,0),(14,9,2,2,3,17,18,2,1),(15,9,3,4,0,16,14,1,1),(16,11,3,2,2,15,14,0,0),(17,10,3,3,1,13,11,3,1),(18,12,4,3,0,10,11,4,0),(19,9,3,4,0,14,18,1,0),(20,7,2,4,1,12,16,2,0);
/*!40000 ALTER TABLE `requisitos` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `times`
--
DROP TABLE IF EXISTS `times`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `times` (
`id_clube` int(11) NOT NULL AUTO_INCREMENT,
`nome` varchar(45) NOT NULL,
`estadio` varchar(50) NOT NULL,
PRIMARY KEY (`id_clube`)
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `times`
--
LOCK TABLES `times` WRITE;
/*!40000 ALTER TABLE `times` DISABLE KEYS */;
INSERT INTO `times` VALUES (1,'Athletico Paranaense','Joaquim Américo Guimararães'),(2,'Atlético-GO','Antônio Accioly'),(3,'Atlético-MG','Mineirão'),(4,'Bahia','Itaipava Arena Fonte'),(5,'Botafogo','<NAME>'),(6,'Bragantino','<NAME>'),(7,'Ceará','Arena Castelão'),(8,'Corinthians','Arena Corinthians'),(9,'Coritiba','<NAME>'),(10,'Flamengo','<NAME>'),(11,'Fluminense','<NAME>'),(12,'Fortaleza','Presidente Vargas'),(13,'Goiás','<NAME>'),(14,'Grêmio','Arena do Grêmio'),(15,'Internacional','Beira-Rio'),(16,'Palmeiras','Allianz Parque'),(17,'Santos','Vila Belmiro'),(18,'São Paulo','Morumbi'),(19,'Sport','Adelmar da Costa Carvalho'),(20,'Vasco da Gama','São Januário');
/*!40000 ALTER TABLE `times` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2020-06-21 16:06:54
|
CREATE SCHEMA IF NOT EXISTS agi_gb2av_controlling_pub;
CREATE SEQUENCE agi_gb2av_controlling_pub.t_ili2db_seq;;
-- GeometryCHLV95_V1.SurfaceStructure
CREATE TABLE agi_gb2av_controlling_pub.surfacestructure (
T_Id bigint PRIMARY KEY DEFAULT nextval('agi_gb2av_controlling_pub.t_ili2db_seq')
,T_Seq bigint NULL
,surface geometry(POLYGON,2056) NULL
,multisurface_surfaces bigint NULL
)
;
CREATE INDEX surfacestructure_surface_idx ON agi_gb2av_controlling_pub.surfacestructure USING GIST ( surface );
CREATE INDEX surfacestructure_multisurface_surfaces_idx ON agi_gb2av_controlling_pub.surfacestructure ( multisurface_surfaces );
-- GeometryCHLV95_V1.MultiSurface
CREATE TABLE agi_gb2av_controlling_pub.multisurface (
T_Id bigint PRIMARY KEY DEFAULT nextval('agi_gb2av_controlling_pub.t_ili2db_seq')
,T_Seq bigint NULL
)
;
-- SO_AGI_GB2AV_Controlling_20201002.Controlling.GB2AV_Vollzugsmeldung_Delta
CREATE TABLE agi_gb2av_controlling_pub.controlling_gb2av_vollzugsmeldung_delta (
T_Id bigint PRIMARY KEY DEFAULT nextval('agi_gb2av_controlling_pub.t_ili2db_seq')
,T_Ili_Tid uuid NULL DEFAULT uuid_generate_v4()
,mutationsnummer varchar(255) NOT NULL
,nbident varchar(255) NOT NULL
,delta integer NOT NULL
,gb_status varchar(255) NULL
,gb_bemerkungen varchar(255) NULL
,gb_grundbucheintrag date NULL
,gb_tagebucheintrag date NULL
,gb_tagebuchbeleg varchar(255) NULL
,av_beschreibung varchar(255) NULL
,av_gueltigkeit varchar(255) NULL
,av_gueltigereintrag date NULL
,av_gbeintrag date NULL
,av_firma varchar(255) NULL
,datasetname varchar(1024) NOT NULL
,perimeter geometry(MULTIPOLYGON,2056) NULL
,grundstuecksart varchar(255) NOT NULL
)
;
CREATE INDEX contrllng_gb2zgsmldng_dlta_perimeter_idx ON agi_gb2av_controlling_pub.controlling_gb2av_vollzugsmeldung_delta USING GIST ( perimeter );
COMMENT ON TABLE agi_gb2av_controlling_pub.controlling_gb2av_vollzugsmeldung_delta IS 'Berechnung der Differenz (Delta) zwischen Vollzug einer Mutation im Grundbuch und Nachführung in den Daten der amtlichen Vermessung.';
COMMENT ON COLUMN agi_gb2av_controlling_pub.controlling_gb2av_vollzugsmeldung_delta.mutationsnummer IS 'Mutationsnummer';
COMMENT ON COLUMN agi_gb2av_controlling_pub.controlling_gb2av_vollzugsmeldung_delta.nbident IS 'Nummerierungsbereich';
COMMENT ON COLUMN agi_gb2av_controlling_pub.controlling_gb2av_vollzugsmeldung_delta.delta IS 'Differenz in Tagen';
COMMENT ON COLUMN agi_gb2av_controlling_pub.controlling_gb2av_vollzugsmeldung_delta.gb_status IS 'Status der Mutation im Grundbuch gemäss Vollzugsmeldung';
COMMENT ON COLUMN agi_gb2av_controlling_pub.controlling_gb2av_vollzugsmeldung_delta.gb_bemerkungen IS 'Bemerkungen aus der Vollzugsmeldung';
COMMENT ON COLUMN agi_gb2av_controlling_pub.controlling_gb2av_vollzugsmeldung_delta.gb_grundbucheintrag IS 'Datum des Grundbucheintrages';
COMMENT ON COLUMN agi_gb2av_controlling_pub.controlling_gb2av_vollzugsmeldung_delta.gb_tagebucheintrag IS 'Datum des Eintrages im Tagebuch';
COMMENT ON COLUMN agi_gb2av_controlling_pub.controlling_gb2av_vollzugsmeldung_delta.gb_tagebuchbeleg IS 'Nummer des Tagebuchbelegs';
COMMENT ON COLUMN agi_gb2av_controlling_pub.controlling_gb2av_vollzugsmeldung_delta.av_beschreibung IS 'Beschreibung der Mutation aus der amtlichen Vermessung (lsnachfuerhung.beschreibung)';
COMMENT ON COLUMN agi_gb2av_controlling_pub.controlling_gb2av_vollzugsmeldung_delta.av_gueltigkeit IS 'Gueltigkeit der Mutation in den Daten der amtlichen Vermessung (lsnachfuerhung.gueltigkeit)';
COMMENT ON COLUMN agi_gb2av_controlling_pub.controlling_gb2av_vollzugsmeldung_delta.av_gueltigereintrag IS 'Datum des Eintrags der vollzogenen Mutation in den Daten der amtlichen Vermessung';
COMMENT ON COLUMN agi_gb2av_controlling_pub.controlling_gb2av_vollzugsmeldung_delta.av_gbeintrag IS 'Datum des Grundbucheintrags in den Daten der amtlichen Vermessung';
COMMENT ON COLUMN agi_gb2av_controlling_pub.controlling_gb2av_vollzugsmeldung_delta.av_firma IS 'Zuständiger Nachführungsgeometer (resp. Firma)';
COMMENT ON COLUMN agi_gb2av_controlling_pub.controlling_gb2av_vollzugsmeldung_delta.datasetname IS 'Name des ursprünglichen Datasets der Vollzugsmeldung.';
COMMENT ON COLUMN agi_gb2av_controlling_pub.controlling_gb2av_vollzugsmeldung_delta.perimeter IS 'Geometrien der betroffen Grundstücke (als Multipolygon)';
COMMENT ON COLUMN agi_gb2av_controlling_pub.controlling_gb2av_vollzugsmeldung_delta.grundstuecksart IS 'Art des Grundstückes';
-- SO_AGI_GB2AV_Controlling_20201002.Controlling.Vollzugsmeldung
CREATE TABLE agi_gb2av_controlling_pub.controlling_vollzugsmeldung (
T_Id bigint PRIMARY KEY DEFAULT nextval('agi_gb2av_controlling_pub.t_ili2db_seq')
,T_Seq bigint NULL
,nummer varchar(255) NOT NULL
,nbident varchar(255) NOT NULL
,astatus varchar(255) NULL
,bemerkungen varchar(1024) NULL
,grundbucheintrag date NULL
,tagebucheintrag date NULL
,tagebuchbeleg varchar(255) NULL
,datasetname varchar(1024) NOT NULL
)
;
COMMENT ON TABLE agi_gb2av_controlling_pub.controlling_vollzugsmeldung IS 'Meldung des Grundbuchs an die amtliche Vermessung';
COMMENT ON COLUMN agi_gb2av_controlling_pub.controlling_vollzugsmeldung.nummer IS 'Mutationsnummer';
COMMENT ON COLUMN agi_gb2av_controlling_pub.controlling_vollzugsmeldung.nbident IS 'Nummerierungsbereich';
COMMENT ON COLUMN agi_gb2av_controlling_pub.controlling_vollzugsmeldung.astatus IS 'Status der Mutation im Grundbuch';
COMMENT ON COLUMN agi_gb2av_controlling_pub.controlling_vollzugsmeldung.bemerkungen IS 'Bemerkungen zu der Mutation';
COMMENT ON COLUMN agi_gb2av_controlling_pub.controlling_vollzugsmeldung.grundbucheintrag IS 'Datum des Eintrags im Grundbuch';
COMMENT ON COLUMN agi_gb2av_controlling_pub.controlling_vollzugsmeldung.tagebucheintrag IS 'Datum des Eintrags im Tagebuch';
COMMENT ON COLUMN agi_gb2av_controlling_pub.controlling_vollzugsmeldung.tagebuchbeleg IS 'Tagebuchbelegsnummer';
COMMENT ON COLUMN agi_gb2av_controlling_pub.controlling_vollzugsmeldung.datasetname IS 'Name des Datasets';
-- SO_AGI_GB2AV_Controlling_20201002.Controlling.AV2GB_Mutationen
CREATE TABLE agi_gb2av_controlling_pub.controlling_av2gb_mutationen (
T_Id bigint PRIMARY KEY DEFAULT nextval('agi_gb2av_controlling_pub.t_ili2db_seq')
,T_Ili_Tid uuid NULL DEFAULT uuid_generate_v4()
,mutationsnummer varchar(255) NOT NULL
,nbident varchar(255) NOT NULL
,beschrieb varchar(1024) NULL
,dateinameplan varchar(1024) NULL
,endetechnbereit date NULL
,meldungen jsonb NULL
,grundbucheintrag boolean NULL
,perimeter geometry(MULTIPOLYGON,2056) NULL
,istprojektmutation varchar(255) NOT NULL
)
;
CREATE INDEX controlling_av2gb_mutatnen_perimeter_idx ON agi_gb2av_controlling_pub.controlling_av2gb_mutationen USING GIST ( perimeter );
COMMENT ON TABLE agi_gb2av_controlling_pub.controlling_av2gb_mutationen IS 'Mutationen der amtlichen Vermessung ans Grundbuch inkl. Vollzugsmeldungen';
COMMENT ON COLUMN agi_gb2av_controlling_pub.controlling_av2gb_mutationen.mutationsnummer IS 'Mutationsnummer';
COMMENT ON COLUMN agi_gb2av_controlling_pub.controlling_av2gb_mutationen.nbident IS 'Nummerierungsbereich';
COMMENT ON COLUMN agi_gb2av_controlling_pub.controlling_av2gb_mutationen.beschrieb IS 'Beschrieb der Mutation';
COMMENT ON COLUMN agi_gb2av_controlling_pub.controlling_av2gb_mutationen.dateinameplan IS 'Name des mitgeschickten PDF';
COMMENT ON COLUMN agi_gb2av_controlling_pub.controlling_av2gb_mutationen.endetechnbereit IS 'Datum der technischen Fertigstellung der Mutation';
COMMENT ON COLUMN agi_gb2av_controlling_pub.controlling_av2gb_mutationen.grundbucheintrag IS 'Ist Mutation im Grundbuch eingetragen (vollzogen)?';
COMMENT ON COLUMN agi_gb2av_controlling_pub.controlling_av2gb_mutationen.perimeter IS 'Perimeter der Mutation';
COMMENT ON COLUMN agi_gb2av_controlling_pub.controlling_av2gb_mutationen.istprojektmutation IS 'Typ der Mutation';
CREATE TABLE agi_gb2av_controlling_pub.T_ILI2DB_BASKET (
T_Id bigint PRIMARY KEY
,dataset bigint NULL
,topic varchar(200) NOT NULL
,T_Ili_Tid varchar(200) NULL
,attachmentKey varchar(200) NOT NULL
,domains varchar(1024) NULL
)
;
CREATE INDEX T_ILI2DB_BASKET_dataset_idx ON agi_gb2av_controlling_pub.t_ili2db_basket ( dataset );
CREATE TABLE agi_gb2av_controlling_pub.T_ILI2DB_DATASET (
T_Id bigint PRIMARY KEY
,datasetName varchar(200) NULL
)
;
CREATE TABLE agi_gb2av_controlling_pub.T_ILI2DB_INHERITANCE (
thisClass varchar(1024) PRIMARY KEY
,baseClass varchar(1024) NULL
)
;
CREATE TABLE agi_gb2av_controlling_pub.T_ILI2DB_SETTINGS (
tag varchar(60) PRIMARY KEY
,setting varchar(1024) NULL
)
;
CREATE TABLE agi_gb2av_controlling_pub.T_ILI2DB_TRAFO (
iliname varchar(1024) NOT NULL
,tag varchar(1024) NOT NULL
,setting varchar(1024) NOT NULL
)
;
CREATE TABLE agi_gb2av_controlling_pub.T_ILI2DB_MODEL (
filename varchar(250) NOT NULL
,iliversion varchar(3) NOT NULL
,modelName text NOT NULL
,content text NOT NULL
,importDate timestamp NOT NULL
,PRIMARY KEY (iliversion,modelName)
)
;
CREATE TABLE agi_gb2av_controlling_pub.T_ILI2DB_CLASSNAME (
IliName varchar(1024) PRIMARY KEY
,SqlName varchar(1024) NOT NULL
)
;
CREATE TABLE agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (
IliName varchar(1024) NOT NULL
,SqlName varchar(1024) NOT NULL
,ColOwner varchar(1024) NOT NULL
,Target varchar(1024) NULL
,PRIMARY KEY (ColOwner,SqlName)
)
;
CREATE TABLE agi_gb2av_controlling_pub.T_ILI2DB_COLUMN_PROP (
tablename varchar(255) NOT NULL
,subtype varchar(255) NULL
,columnname varchar(255) NOT NULL
,tag varchar(1024) NOT NULL
,setting varchar(1024) NOT NULL
)
;
CREATE TABLE agi_gb2av_controlling_pub.T_ILI2DB_TABLE_PROP (
tablename varchar(255) NOT NULL
,tag varchar(1024) NOT NULL
,setting varchar(1024) NOT NULL
)
;
CREATE TABLE agi_gb2av_controlling_pub.T_ILI2DB_META_ATTRS (
ilielement varchar(255) NOT NULL
,attr_name varchar(1024) NOT NULL
,attr_value varchar(1024) NOT NULL
)
;
ALTER TABLE agi_gb2av_controlling_pub.surfacestructure ADD CONSTRAINT surfacestructure_multisurface_surfaces_fkey FOREIGN KEY ( multisurface_surfaces ) REFERENCES agi_gb2av_controlling_pub.multisurface DEFERRABLE INITIALLY DEFERRED;
CREATE UNIQUE INDEX contrllnldng_dlta_grundstuecksart_datasetname_key ON agi_gb2av_controlling_pub.controlling_gb2av_vollzugsmeldung_delta (grundstuecksart,datasetname)
;
ALTER TABLE agi_gb2av_controlling_pub.controlling_gb2av_vollzugsmeldung_delta ADD CONSTRAINT contrllng_gbzgsmldng_dlta_delta_check CHECK( delta BETWEEN 0 AND 1000000);
CREATE UNIQUE INDEX controlling_av2gb_mutatnen_dateinameplan_key ON agi_gb2av_controlling_pub.controlling_av2gb_mutationen (dateinameplan)
;
ALTER TABLE agi_gb2av_controlling_pub.T_ILI2DB_BASKET ADD CONSTRAINT T_ILI2DB_BASKET_dataset_fkey FOREIGN KEY ( dataset ) REFERENCES agi_gb2av_controlling_pub.T_ILI2DB_DATASET DEFERRABLE INITIALLY DEFERRED;
CREATE UNIQUE INDEX T_ILI2DB_DATASET_datasetName_key ON agi_gb2av_controlling_pub.T_ILI2DB_DATASET (datasetName)
;
CREATE UNIQUE INDEX T_ILI2DB_MODEL_iliversion_modelName_key ON agi_gb2av_controlling_pub.T_ILI2DB_MODEL (iliversion,modelName)
;
CREATE UNIQUE INDEX T_ILI2DB_ATTRNAME_ColOwner_SqlName_key ON agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (ColOwner,SqlName)
;
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.Vollzugsmeldung','controlling_vollzugsmeldung');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('GeometryCHLV95_V1.MultiSurface','multisurface');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.AV2GB_Mutationen','controlling_av2gb_mutationen');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('GeometryCHLV95_V1.SurfaceStructure','surfacestructure');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_CLASSNAME (IliName,SqlName) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.GB2AV_Vollzugsmeldung_Delta','controlling_gb2av_vollzugsmeldung_delta');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('GeometryCHLV95_V1.MultiSurface.Surfaces','multisurface_surfaces','surfacestructure','multisurface');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.GB2AV_Vollzugsmeldung_Delta.GB_Tagebucheintrag','gb_tagebucheintrag','controlling_gb2av_vollzugsmeldung_delta',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.GB2AV_Vollzugsmeldung_Delta.Grundstuecksart','grundstuecksart','controlling_gb2av_vollzugsmeldung_delta',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.Vollzugsmeldung.Datasetname','datasetname','controlling_vollzugsmeldung',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.GB2AV_Vollzugsmeldung_Delta.Delta','delta','controlling_gb2av_vollzugsmeldung_delta',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.AV2GB_Mutationen.NBIdent','nbident','controlling_av2gb_mutationen',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.AV2GB_Mutationen.EndeTechnBereit','endetechnbereit','controlling_av2gb_mutationen',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.AV2GB_Mutationen.Grundbucheintrag','grundbucheintrag','controlling_av2gb_mutationen',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('GeometryCHLV95_V1.SurfaceStructure.Surface','surface','surfacestructure',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.GB2AV_Vollzugsmeldung_Delta.GB_Tagebuchbeleg','gb_tagebuchbeleg','controlling_gb2av_vollzugsmeldung_delta',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.AV2GB_Mutationen.IstProjektmutation','istprojektmutation','controlling_av2gb_mutationen',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.AV2GB_Mutationen.Meldungen','meldungen','controlling_av2gb_mutationen',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.AV2GB_Mutationen.Perimeter','perimeter','controlling_av2gb_mutationen',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.Vollzugsmeldung.Tagebucheintrag','tagebucheintrag','controlling_vollzugsmeldung',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.GB2AV_Vollzugsmeldung_Delta.AV_GueltigerEintrag','av_gueltigereintrag','controlling_gb2av_vollzugsmeldung_delta',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.GB2AV_Vollzugsmeldung_Delta.AV_Beschreibung','av_beschreibung','controlling_gb2av_vollzugsmeldung_delta',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.Vollzugsmeldung.Grundbucheintrag','grundbucheintrag','controlling_vollzugsmeldung',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.GB2AV_Vollzugsmeldung_Delta.NBIdent','nbident','controlling_gb2av_vollzugsmeldung_delta',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.AV2GB_Mutationen.Beschrieb','beschrieb','controlling_av2gb_mutationen',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.GB2AV_Vollzugsmeldung_Delta.GB_Bemerkungen','gb_bemerkungen','controlling_gb2av_vollzugsmeldung_delta',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.Vollzugsmeldung.Status','astatus','controlling_vollzugsmeldung',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.Vollzugsmeldung.Bemerkungen','bemerkungen','controlling_vollzugsmeldung',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.GB2AV_Vollzugsmeldung_Delta.Datasetname','datasetname','controlling_gb2av_vollzugsmeldung_delta',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.Vollzugsmeldung.Tagebuchbeleg','tagebuchbeleg','controlling_vollzugsmeldung',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.GB2AV_Vollzugsmeldung_Delta.Perimeter','perimeter','controlling_gb2av_vollzugsmeldung_delta',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.GB2AV_Vollzugsmeldung_Delta.AV_GBEintrag','av_gbeintrag','controlling_gb2av_vollzugsmeldung_delta',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.Vollzugsmeldung.NBIdent','nbident','controlling_vollzugsmeldung',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.AV2GB_Mutationen.Mutationsnummer','mutationsnummer','controlling_av2gb_mutationen',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.GB2AV_Vollzugsmeldung_Delta.Mutationsnummer','mutationsnummer','controlling_gb2av_vollzugsmeldung_delta',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.AV2GB_Mutationen.Dateinameplan','dateinameplan','controlling_av2gb_mutationen',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.GB2AV_Vollzugsmeldung_Delta.GB_Grundbucheintrag','gb_grundbucheintrag','controlling_gb2av_vollzugsmeldung_delta',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.Vollzugsmeldung.Nummer','nummer','controlling_vollzugsmeldung',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.GB2AV_Vollzugsmeldung_Delta.AV_Gueltigkeit','av_gueltigkeit','controlling_gb2av_vollzugsmeldung_delta',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.GB2AV_Vollzugsmeldung_Delta.AV_Firma','av_firma','controlling_gb2av_vollzugsmeldung_delta',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_ATTRNAME (IliName,SqlName,ColOwner,Target) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.GB2AV_Vollzugsmeldung_Delta.GB_Status','gb_status','controlling_gb2av_vollzugsmeldung_delta',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.GB2AV_Vollzugsmeldung_Delta.Perimeter','ch.ehi.ili2db.multiSurfaceTrafo','coalesce');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.AV2GB_Mutationen.Meldungen','ch.ehi.ili2db.jsonTrafo','coalesce');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.Vollzugsmeldung','ch.ehi.ili2db.inheritance','newClass');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('GeometryCHLV95_V1.MultiSurface','ch.ehi.ili2db.inheritance','newClass');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.AV2GB_Mutationen.Perimeter','ch.ehi.ili2db.multiSurfaceTrafo','coalesce');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.AV2GB_Mutationen','ch.ehi.ili2db.inheritance','newClass');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('GeometryCHLV95_V1.SurfaceStructure','ch.ehi.ili2db.inheritance','newClass');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_TRAFO (iliname,tag,setting) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.GB2AV_Vollzugsmeldung_Delta','ch.ehi.ili2db.inheritance','newClass');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('GeometryCHLV95_V1.SurfaceStructure',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('GeometryCHLV95_V1.MultiSurface',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.GB2AV_Vollzugsmeldung_Delta',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.Vollzugsmeldung',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_INHERITANCE (thisClass,baseClass) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.AV2GB_Mutationen',NULL);
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('surfacestructure',NULL,'surface','ch.ehi.ili2db.coordDimension','2');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('surfacestructure',NULL,'surface','ch.ehi.ili2db.c1Max','2870000.000');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('surfacestructure',NULL,'surface','ch.ehi.ili2db.c2Max','1310000.000');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('surfacestructure',NULL,'surface','ch.ehi.ili2db.geomType','POLYGON');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('surfacestructure',NULL,'surface','ch.ehi.ili2db.c1Min','2460000.000');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('surfacestructure',NULL,'surface','ch.ehi.ili2db.c2Min','1045000.000');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('surfacestructure',NULL,'surface','ch.ehi.ili2db.srid','2056');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('controlling_gb2av_vollzugsmeldung_delta',NULL,'perimeter','ch.ehi.ili2db.coordDimension','2');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('controlling_gb2av_vollzugsmeldung_delta',NULL,'perimeter','ch.ehi.ili2db.c1Max','2870000.000');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('controlling_gb2av_vollzugsmeldung_delta',NULL,'perimeter','ch.ehi.ili2db.c2Max','1310000.000');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('controlling_gb2av_vollzugsmeldung_delta',NULL,'perimeter','ch.ehi.ili2db.geomType','MULTIPOLYGON');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('controlling_gb2av_vollzugsmeldung_delta',NULL,'perimeter','ch.ehi.ili2db.c1Min','2460000.000');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('controlling_gb2av_vollzugsmeldung_delta',NULL,'perimeter','ch.ehi.ili2db.c2Min','1045000.000');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('controlling_gb2av_vollzugsmeldung_delta',NULL,'perimeter','ch.ehi.ili2db.srid','2056');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('controlling_av2gb_mutationen',NULL,'perimeter','ch.ehi.ili2db.coordDimension','2');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('controlling_av2gb_mutationen',NULL,'perimeter','ch.ehi.ili2db.c1Max','2870000.000');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('controlling_av2gb_mutationen',NULL,'perimeter','ch.ehi.ili2db.c2Max','1310000.000');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('controlling_av2gb_mutationen',NULL,'perimeter','ch.ehi.ili2db.geomType','MULTIPOLYGON');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('controlling_av2gb_mutationen',NULL,'perimeter','ch.ehi.ili2db.c1Min','2460000.000');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('controlling_av2gb_mutationen',NULL,'perimeter','ch.ehi.ili2db.c2Min','1045000.000');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('controlling_av2gb_mutationen',NULL,'perimeter','ch.ehi.ili2db.srid','2056');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('surfacestructure',NULL,'multisurface_surfaces','ch.ehi.ili2db.foreignKey','multisurface');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('controlling_gb2av_vollzugsmeldung_delta',NULL,'gb_bemerkungen','ch.ehi.ili2db.textKind','MTEXT');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_COLUMN_PROP (tablename,subtype,columnname,tag,setting) VALUES ('controlling_gb2av_vollzugsmeldung_delta',NULL,'gb_tagebuchbeleg','ch.ehi.ili2db.textKind','MTEXT');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_TABLE_PROP (tablename,tag,setting) VALUES ('controlling_av2gb_mutationen','ch.ehi.ili2db.tableKind','CLASS');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_TABLE_PROP (tablename,tag,setting) VALUES ('surfacestructure','ch.ehi.ili2db.tableKind','STRUCTURE');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_TABLE_PROP (tablename,tag,setting) VALUES ('controlling_vollzugsmeldung','ch.ehi.ili2db.tableKind','STRUCTURE');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_TABLE_PROP (tablename,tag,setting) VALUES ('multisurface','ch.ehi.ili2db.tableKind','STRUCTURE');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_TABLE_PROP (tablename,tag,setting) VALUES ('controlling_gb2av_vollzugsmeldung_delta','ch.ehi.ili2db.tableKind','CLASS');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_MODEL (filename,iliversion,modelName,content,importDate) VALUES ('CHBase_Part4_ADMINISTRATIVEUNITS_20110830.ili','2.3','CHAdminCodes_V1 AdministrativeUnits_V1{ CHAdminCodes_V1 InternationalCodes_V1 Dictionaries_V1 Localisation_V1 INTERLIS} AdministrativeUnitsCH_V1{ CHAdminCodes_V1 InternationalCodes_V1 LocalisationCH_V1 AdministrativeUnits_V1 INTERLIS}','/* ########################################################################
CHBASE - BASE MODULES OF THE SWISS FEDERATION FOR MINIMAL GEODATA MODELS
======
BASISMODULE DES BUNDES MODULES DE BASE DE LA CONFEDERATION
FÜR MINIMALE GEODATENMODELLE POUR LES MODELES DE GEODONNEES MINIMAUX
PROVIDER: GKG/KOGIS - GCS/COSIG CONTACT: <EMAIL>
PUBLISHED: 2011-08-30
########################################################################
*/
INTERLIS 2.3;
/* ########################################################################
########################################################################
PART IV -- ADMINISTRATIVE UNITS
- Package CHAdminCodes
- Package AdministrativeUnits
- Package AdministrativeUnitsCH
*/
!! Version | Who | Modification
!!------------------------------------------------------------------------------
!! 2018-02-19 | KOGIS | Enumeration CHCantonCode adapted (FL and CH added)
!! 2020-04-24 | KOGIS | Constraint in Association Hierarchy in Model AdministrativeUnitsCH_V1 corrected (#CHE)
!! 2020-08-25 | KOGIS | Classes AdministrativeUnit and AdministrativeUnion declared as not abstract.
!! ########################################################################
!!@technicalContact=mailto:<EMAIL>
!!@furtherInformation=https://www.geo.admin.ch/de/geoinformation-schweiz/geobasisdaten/geodata-models.html
TYPE MODEL CHAdminCodes_V1 (en)
AT "http://www.geo.admin.ch" VERSION "2018-02-19" =
DOMAIN
CHCantonCode = (ZH,BE,LU,UR,SZ,OW,NW,GL,ZG,FR,SO,BS,BL,SH,AR,AI,SG,
GR,AG,TG,TI,VD,VS,NE,GE,JU,FL,CH);
CHMunicipalityCode = 1..9999; !! BFS-Nr
END CHAdminCodes_V1.
!! ########################################################################
!!@technicalContact=mailto:<EMAIL>
!!@furtherInformation=https://www.geo.admin.ch/internet/geoportal/de/home/topics/geobasedata/models.html
MODEL AdministrativeUnits_V1 (en)
AT "http://www.geo.admin.ch" VERSION "2020-08-25" =
IMPORTS UNQUALIFIED INTERLIS;
IMPORTS UNQUALIFIED CHAdminCodes_V1;
IMPORTS UNQUALIFIED InternationalCodes_V1;
IMPORTS Localisation_V1;
IMPORTS Dictionaries_V1;
TOPIC AdministrativeUnits (ABSTRACT) =
CLASS AdministrativeElement (ABSTRACT) =
END AdministrativeElement;
CLASS AdministrativeUnit EXTENDS AdministrativeElement =
END AdministrativeUnit;
ASSOCIATION Hierarchy =
UpperLevelUnit (EXTERNAL) -<> {0..1} AdministrativeUnit;
LowerLevelUnit -- AdministrativeUnit;
END Hierarchy;
CLASS AdministrativeUnion EXTENDS AdministrativeElement =
END AdministrativeUnion;
ASSOCIATION UnionMembers =
Union -<> AdministrativeUnion;
Member -- AdministrativeElement;
END UnionMembers;
END AdministrativeUnits;
TOPIC Countries EXTENDS AdministrativeUnits =
CLASS Country EXTENDS AdministrativeUnit =
Code: MANDATORY CountryCode_ISO3166_1;
UNIQUE Code;
END Country;
END Countries;
TOPIC CountryNames EXTENDS Dictionaries_V1.Dictionaries =
DEPENDS ON AdministrativeUnits_V1.Countries;
STRUCTURE CountryName EXTENDS Entry =
Code: MANDATORY CountryCode_ISO3166_1;
END CountryName;
CLASS CountryNamesTranslation EXTENDS Dictionary =
Entries(EXTENDED): LIST OF CountryName;
UNIQUE Entries->Code;
EXISTENCE CONSTRAINT
Entries->Code REQUIRED IN AdministrativeUnits_V1.Countries.Country: Code;
END CountryNamesTranslation;
END CountryNames;
TOPIC Agencies (ABSTRACT) =
DEPENDS ON AdministrativeUnits_V1.AdministrativeUnits;
CLASS Agency (ABSTRACT) =
END Agency;
ASSOCIATION Authority =
Supervisor (EXTERNAL) -<> {1..1} Agency OR AdministrativeUnits_V1.AdministrativeUnits.AdministrativeElement;
Agency -- Agency;
END Authority;
ASSOCIATION Organisation =
Orderer (EXTERNAL) -- Agency OR AdministrativeUnits_V1.AdministrativeUnits.AdministrativeElement;
Executor -- Agency;
END Organisation;
END Agencies;
END AdministrativeUnits_V1.
!! ########################################################################
!!@technicalContact=mailto:<EMAIL>
!!@furtherInformation=https://www.geo.admin.ch/de/geoinformation-schweiz/geobasisdaten/geodata-models.html
MODEL AdministrativeUnitsCH_V1 (en)
AT "http://www.geo.admin.ch" VERSION "2020-04-24" =
IMPORTS UNQUALIFIED INTERLIS;
IMPORTS UNQUALIFIED CHAdminCodes_V1;
IMPORTS UNQUALIFIED InternationalCodes_V1;
IMPORTS LocalisationCH_V1;
IMPORTS AdministrativeUnits_V1;
TOPIC CHCantons EXTENDS AdministrativeUnits_V1.AdministrativeUnits =
DEPENDS ON AdministrativeUnits_V1.Countries;
CLASS CHCanton EXTENDS AdministrativeUnit =
Code: MANDATORY CHCantonCode;
Name: LocalisationCH_V1.MultilingualText;
Web: URI;
UNIQUE Code;
END CHCanton;
ASSOCIATION Hierarchy (EXTENDED) =
UpperLevelUnit (EXTENDED, EXTERNAL) -<> {1..1} AdministrativeUnits_V1.Countries.Country;
LowerLevelUnit (EXTENDED) -- CHCanton;
MANDATORY CONSTRAINT
UpperLevelUnit->Code == #CHE;
END Hierarchy;
END CHCantons;
TOPIC CHDistricts EXTENDS AdministrativeUnits_V1.AdministrativeUnits =
DEPENDS ON AdministrativeUnitsCH_V1.CHCantons;
CLASS CHDistrict EXTENDS AdministrativeUnit =
ShortName: MANDATORY TEXT*20;
Name: LocalisationCH_V1.MultilingualText;
Web: MANDATORY URI;
END CHDistrict;
ASSOCIATION Hierarchy (EXTENDED) =
UpperLevelUnit (EXTENDED, EXTERNAL) -<> {1..1} AdministrativeUnitsCH_V1.CHCantons.CHCanton;
LowerLevelUnit (EXTENDED) -- CHDistrict;
UNIQUE UpperLevelUnit->Code, LowerLevelUnit->ShortName;
END Hierarchy;
END CHDistricts;
TOPIC CHMunicipalities EXTENDS AdministrativeUnits_V1.AdministrativeUnits =
DEPENDS ON AdministrativeUnitsCH_V1.CHCantons;
DEPENDS ON AdministrativeUnitsCH_V1.CHDistricts;
CLASS CHMunicipality EXTENDS AdministrativeUnit =
Code: MANDATORY CHMunicipalityCode;
Name: LocalisationCH_V1.MultilingualText;
Web: URI;
UNIQUE Code;
END CHMunicipality;
ASSOCIATION Hierarchy (EXTENDED) =
UpperLevelUnit (EXTENDED, EXTERNAL) -<> {1..1} AdministrativeUnitsCH_V1.CHCantons.CHCanton
OR AdministrativeUnitsCH_V1.CHDistricts.CHDistrict;
LowerLevelUnit (EXTENDED) -- CHMunicipality;
END Hierarchy;
END CHMunicipalities;
TOPIC CHAdministrativeUnions EXTENDS AdministrativeUnits_V1.AdministrativeUnits =
DEPENDS ON AdministrativeUnits_V1.Countries;
DEPENDS ON AdministrativeUnitsCH_V1.CHCantons;
DEPENDS ON AdministrativeUnitsCH_V1.CHDistricts;
DEPENDS ON AdministrativeUnitsCH_V1.CHMunicipalities;
CLASS AdministrativeUnion (EXTENDED) =
OID AS UUIDOID;
Name: LocalisationCH_V1.MultilingualText;
Web: URI;
Description: LocalisationCH_V1.MultilingualMText;
END AdministrativeUnion;
END CHAdministrativeUnions;
TOPIC CHAgencies EXTENDS AdministrativeUnits_V1.Agencies =
DEPENDS ON AdministrativeUnits_V1.Countries;
DEPENDS ON AdministrativeUnitsCH_V1.CHCantons;
DEPENDS ON AdministrativeUnitsCH_V1.CHDistricts;
DEPENDS ON AdministrativeUnitsCH_V1.CHMunicipalities;
CLASS Agency (EXTENDED) =
OID AS UUIDOID;
Name: LocalisationCH_V1.MultilingualText;
Web: URI;
Description: LocalisationCH_V1.MultilingualMText;
END Agency;
END CHAgencies;
END AdministrativeUnitsCH_V1.
!! ########################################################################
','2020-10-07 14:21:01.024');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_MODEL (filename,iliversion,modelName,content,importDate) VALUES ('Units-20120220.ili','2.3','Units','!! File Units.ili Release 2012-02-20
INTERLIS 2.3;
!! 2012-02-20 definition of "Bar [bar]" corrected
!!@precursorVersion = 2005-06-06
CONTRACTED TYPE MODEL Units (en) AT "http://www.interlis.ch/models"
VERSION "2012-02-20" =
UNIT
!! abstract Units
Area (ABSTRACT) = (INTERLIS.LENGTH*INTERLIS.LENGTH);
Volume (ABSTRACT) = (INTERLIS.LENGTH*INTERLIS.LENGTH*INTERLIS.LENGTH);
Velocity (ABSTRACT) = (INTERLIS.LENGTH/INTERLIS.TIME);
Acceleration (ABSTRACT) = (Velocity/INTERLIS.TIME);
Force (ABSTRACT) = (INTERLIS.MASS*INTERLIS.LENGTH/INTERLIS.TIME/INTERLIS.TIME);
Pressure (ABSTRACT) = (Force/Area);
Energy (ABSTRACT) = (Force*INTERLIS.LENGTH);
Power (ABSTRACT) = (Energy/INTERLIS.TIME);
Electric_Potential (ABSTRACT) = (Power/INTERLIS.ELECTRIC_CURRENT);
Frequency (ABSTRACT) = (INTERLIS.DIMENSIONLESS/INTERLIS.TIME);
Millimeter [mm] = 0.001 [INTERLIS.m];
Centimeter [cm] = 0.01 [INTERLIS.m];
Decimeter [dm] = 0.1 [INTERLIS.m];
Kilometer [km] = 1000 [INTERLIS.m];
Square_Meter [m2] EXTENDS Area = (INTERLIS.m*INTERLIS.m);
Cubic_Meter [m3] EXTENDS Volume = (INTERLIS.m*INTERLIS.m*INTERLIS.m);
Minute [min] = 60 [INTERLIS.s];
Hour [h] = 60 [min];
Day [d] = 24 [h];
Kilometer_per_Hour [kmh] EXTENDS Velocity = (km/h);
Meter_per_Second [ms] = 3.6 [kmh];
Newton [N] EXTENDS Force = (INTERLIS.kg*INTERLIS.m/INTERLIS.s/INTERLIS.s);
Pascal [Pa] EXTENDS Pressure = (N/m2);
Joule [J] EXTENDS Energy = (N*INTERLIS.m);
Watt [W] EXTENDS Power = (J/INTERLIS.s);
Volt [V] EXTENDS Electric_Potential = (W/INTERLIS.A);
Inch [in] = 2.54 [cm];
Foot [ft] = 0.3048 [INTERLIS.m];
Mile [mi] = 1.609344 [km];
Are [a] = 100 [m2];
Hectare [ha] = 100 [a];
Square_Kilometer [km2] = 100 [ha];
Acre [acre] = 4046.873 [m2];
Liter [L] = 1 / 1000 [m3];
US_Gallon [USgal] = 3.785412 [L];
Angle_Degree = 180 / PI [INTERLIS.rad];
Angle_Minute = 1 / 60 [Angle_Degree];
Angle_Second = 1 / 60 [Angle_Minute];
Gon = 200 / PI [INTERLIS.rad];
Gram [g] = 1 / 1000 [INTERLIS.kg];
Ton [t] = 1000 [INTERLIS.kg];
Pound [lb] = 0.4535924 [INTERLIS.kg];
Calorie [cal] = 4.1868 [J];
Kilowatt_Hour [kWh] = 0.36E7 [J];
Horsepower = 746 [W];
Techn_Atmosphere [at] = 98066.5 [Pa];
Atmosphere [atm] = 101325 [Pa];
Bar [bar] = 100000 [Pa];
Millimeter_Mercury [mmHg] = 133.3224 [Pa];
Torr = 133.3224 [Pa]; !! Torr = [mmHg]
Decibel [dB] = FUNCTION // 10**(dB/20) * 0.00002 // [Pa];
Degree_Celsius [oC] = FUNCTION // oC+273.15 // [INTERLIS.K];
Degree_Fahrenheit [oF] = FUNCTION // (oF+459.67)/1.8 // [INTERLIS.K];
CountedObjects EXTENDS INTERLIS.DIMENSIONLESS;
Hertz [Hz] EXTENDS Frequency = (CountedObjects/INTERLIS.s);
KiloHertz [KHz] = 1000 [Hz];
MegaHertz [MHz] = 1000 [KHz];
Percent = 0.01 [CountedObjects];
Permille = 0.001 [CountedObjects];
!! ISO 4217 Currency Abbreviation
USDollar [USD] EXTENDS INTERLIS.MONEY;
Euro [EUR] EXTENDS INTERLIS.MONEY;
SwissFrancs [CHF] EXTENDS INTERLIS.MONEY;
END Units.
','2020-10-07 14:21:01.024');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_MODEL (filename,iliversion,modelName,content,importDate) VALUES ('CoordSys-20151124.ili','2.3','CoordSys','!! File CoordSys.ili Release 2015-11-24
INTERLIS 2.3;
!! 2015-11-24 Cardinalities adapted (line 122, 123, 124, 132, 133, 134, 142, 143,
!! 148, 149, 163, 164, 168, 169, 206 and 207)
!!@precursorVersion = 2005-06-16
REFSYSTEM MODEL CoordSys (en) AT "http://www.interlis.ch/models"
VERSION "2015-11-24" =
UNIT
Angle_Degree = 180 / PI [INTERLIS.rad];
Angle_Minute = 1 / 60 [Angle_Degree];
Angle_Second = 1 / 60 [Angle_Minute];
STRUCTURE Angle_DMS_S =
Degrees: -180 .. 180 CIRCULAR [Angle_Degree];
CONTINUOUS SUBDIVISION Minutes: 0 .. 59 CIRCULAR [Angle_Minute];
CONTINUOUS SUBDIVISION Seconds: 0.000 .. 59.999 CIRCULAR [Angle_Second];
END Angle_DMS_S;
DOMAIN
Angle_DMS = FORMAT BASED ON Angle_DMS_S (Degrees ":" Minutes ":" Seconds);
Angle_DMS_90 EXTENDS Angle_DMS = "-90:00:00.000" .. "90:00:00.000";
TOPIC CoordsysTopic =
!! Special space aspects to be referenced
!! **************************************
CLASS Ellipsoid EXTENDS INTERLIS.REFSYSTEM =
EllipsoidAlias: TEXT*70;
SemiMajorAxis: MANDATORY 6360000.0000 .. 6390000.0000 [INTERLIS.m];
InverseFlattening: MANDATORY 0.00000000 .. 350.00000000;
!! The inverse flattening 0 characterizes the 2-dim sphere
Remarks: TEXT*70;
END Ellipsoid;
CLASS GravityModel EXTENDS INTERLIS.REFSYSTEM =
GravityModAlias: TEXT*70;
Definition: TEXT*70;
END GravityModel;
CLASS GeoidModel EXTENDS INTERLIS.REFSYSTEM =
GeoidModAlias: TEXT*70;
Definition: TEXT*70;
END GeoidModel;
!! Coordinate systems for geodetic purposes
!! ****************************************
STRUCTURE LengthAXIS EXTENDS INTERLIS.AXIS =
ShortName: TEXT*12;
Description: TEXT*255;
PARAMETER
Unit (EXTENDED): NUMERIC [INTERLIS.LENGTH];
END LengthAXIS;
STRUCTURE AngleAXIS EXTENDS INTERLIS.AXIS =
ShortName: TEXT*12;
Description: TEXT*255;
PARAMETER
Unit (EXTENDED): NUMERIC [INTERLIS.ANGLE];
END AngleAXIS;
CLASS GeoCartesian1D EXTENDS INTERLIS.COORDSYSTEM =
Axis (EXTENDED): LIST {1} OF LengthAXIS;
END GeoCartesian1D;
CLASS GeoHeight EXTENDS GeoCartesian1D =
System: MANDATORY (
normal,
orthometric,
ellipsoidal,
other);
ReferenceHeight: MANDATORY -10000.000 .. +10000.000 [INTERLIS.m];
ReferenceHeightDescr: TEXT*70;
END GeoHeight;
ASSOCIATION HeightEllips =
GeoHeightRef -- {*} GeoHeight;
EllipsoidRef -- {1} Ellipsoid;
END HeightEllips;
ASSOCIATION HeightGravit =
GeoHeightRef -- {*} GeoHeight;
GravityRef -- {1} GravityModel;
END HeightGravit;
ASSOCIATION HeightGeoid =
GeoHeightRef -- {*} GeoHeight;
GeoidRef -- {1} GeoidModel;
END HeightGeoid;
CLASS GeoCartesian2D EXTENDS INTERLIS.COORDSYSTEM =
Definition: TEXT*70;
Axis (EXTENDED): LIST {2} OF LengthAXIS;
END GeoCartesian2D;
CLASS GeoCartesian3D EXTENDS INTERLIS.COORDSYSTEM =
Definition: TEXT*70;
Axis (EXTENDED): LIST {3} OF LengthAXIS;
END GeoCartesian3D;
CLASS GeoEllipsoidal EXTENDS INTERLIS.COORDSYSTEM =
Definition: TEXT*70;
Axis (EXTENDED): LIST {2} OF AngleAXIS;
END GeoEllipsoidal;
ASSOCIATION EllCSEllips =
GeoEllipsoidalRef -- {*} GeoEllipsoidal;
EllipsoidRef -- {1} Ellipsoid;
END EllCSEllips;
!! Mappings between coordinate systems
!! ***********************************
ASSOCIATION ToGeoEllipsoidal =
From -- {0..*} GeoCartesian3D;
To -- {0..*} GeoEllipsoidal;
ToHeight -- {0..*} GeoHeight;
MANDATORY CONSTRAINT
ToHeight -> System == #ellipsoidal;
MANDATORY CONSTRAINT
To -> EllipsoidRef -> Name == ToHeight -> EllipsoidRef -> Name;
END ToGeoEllipsoidal;
ASSOCIATION ToGeoCartesian3D =
From2 -- {0..*} GeoEllipsoidal;
FromHeight-- {0..*} GeoHeight;
To3 -- {0..*} GeoCartesian3D;
MANDATORY CONSTRAINT
FromHeight -> System == #ellipsoidal;
MANDATORY CONSTRAINT
From2 -> EllipsoidRef -> Name == FromHeight -> EllipsoidRef -> Name;
END ToGeoCartesian3D;
ASSOCIATION BidirectGeoCartesian2D =
From -- {0..*} GeoCartesian2D;
To -- {0..*} GeoCartesian2D;
END BidirectGeoCartesian2D;
ASSOCIATION BidirectGeoCartesian3D =
From -- {0..*} GeoCartesian3D;
To2 -- {0..*} GeoCartesian3D;
Precision: MANDATORY (
exact,
measure_based);
ShiftAxis1: MANDATORY -10000.000 .. 10000.000 [INTERLIS.m];
ShiftAxis2: MANDATORY -10000.000 .. 10000.000 [INTERLIS.m];
ShiftAxis3: MANDATORY -10000.000 .. 10000.000 [INTERLIS.m];
RotationAxis1: Angle_DMS_90;
RotationAxis2: Angle_DMS_90;
RotationAxis3: Angle_DMS_90;
NewScale: 0.000001 .. 1000000.000000;
END BidirectGeoCartesian3D;
ASSOCIATION BidirectGeoEllipsoidal =
From4 -- {0..*} GeoEllipsoidal;
To4 -- {0..*} GeoEllipsoidal;
END BidirectGeoEllipsoidal;
ASSOCIATION MapProjection (ABSTRACT) =
From5 -- {0..*} GeoEllipsoidal;
To5 -- {0..*} GeoCartesian2D;
FromCo1_FundPt: MANDATORY Angle_DMS_90;
FromCo2_FundPt: MANDATORY Angle_DMS_90;
ToCoord1_FundPt: MANDATORY -10000000 .. +10000000 [INTERLIS.m];
ToCoord2_FundPt: MANDATORY -10000000 .. +10000000 [INTERLIS.m];
END MapProjection;
ASSOCIATION TransverseMercator EXTENDS MapProjection =
END TransverseMercator;
ASSOCIATION SwissProjection EXTENDS MapProjection =
IntermFundP1: MANDATORY Angle_DMS_90;
IntermFundP2: MANDATORY Angle_DMS_90;
END SwissProjection;
ASSOCIATION Mercator EXTENDS MapProjection =
END Mercator;
ASSOCIATION ObliqueMercator EXTENDS MapProjection =
END ObliqueMercator;
ASSOCIATION Lambert EXTENDS MapProjection =
END Lambert;
ASSOCIATION Polyconic EXTENDS MapProjection =
END Polyconic;
ASSOCIATION Albus EXTENDS MapProjection =
END Albus;
ASSOCIATION Azimutal EXTENDS MapProjection =
END Azimutal;
ASSOCIATION Stereographic EXTENDS MapProjection =
END Stereographic;
ASSOCIATION HeightConversion =
FromHeight -- {0..*} GeoHeight;
ToHeight -- {0..*} GeoHeight;
Definition: TEXT*70;
END HeightConversion;
END CoordsysTopic;
END CoordSys.
','2020-10-07 14:21:01.024');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_MODEL (filename,iliversion,modelName,content,importDate) VALUES ('CHBase_Part2_LOCALISATION_20110830.ili','2.3','InternationalCodes_V1 Localisation_V1{ InternationalCodes_V1} LocalisationCH_V1{ InternationalCodes_V1 Localisation_V1} Dictionaries_V1{ InternationalCodes_V1} DictionariesCH_V1{ InternationalCodes_V1 Dictionaries_V1}','/* ########################################################################
CHBASE - BASE MODULES OF THE SWISS FEDERATION FOR MINIMAL GEODATA MODELS
======
BASISMODULE DES BUNDES MODULES DE BASE DE LA CONFEDERATION
FÜR MINIMALE GEODATENMODELLE POUR LES MODELES DE GEODONNEES MINIMAUX
PROVIDER: GKG/KOGIS - GCS/COSIG CONTACT: <EMAIL>
PUBLISHED: 2011-08-30
########################################################################
*/
INTERLIS 2.3;
/* ########################################################################
########################################################################
PART II -- LOCALISATION
- Package InternationalCodes
- Packages Localisation, LocalisationCH
- Packages Dictionaries, DictionariesCH
*/
!! ########################################################################
!!@technicalContact=<EMAIL>
!!@furtherInformation=http://www.geo.admin.ch/internet/geoportal/de/home/topics/geobasedata/models.html
TYPE MODEL InternationalCodes_V1 (en)
AT "http://www.geo.admin.ch" VERSION "2011-08-30" =
DOMAIN
LanguageCode_ISO639_1 = (de,fr,it,rm,en,
aa,ab,af,am,ar,as,ay,az,ba,be,bg,bh,bi,bn,bo,br,ca,co,cs,cy,da,dz,el,
eo,es,et,eu,fa,fi,fj,fo,fy,ga,gd,gl,gn,gu,ha,he,hi,hr,hu,hy,ia,id,ie,
ik,is,iu,ja,jw,ka,kk,kl,km,kn,ko,ks,ku,ky,la,ln,lo,lt,lv,mg,mi,mk,ml,
mn,mo,mr,ms,mt,my,na,ne,nl,no,oc,om,or,pa,pl,ps,pt,qu,rn,ro,ru,rw,sa,
sd,sg,sh,si,sk,sl,sm,sn,so,sq,sr,ss,st,su,sv,sw,ta,te,tg,th,ti,tk,tl,
tn,to,tr,ts,tt,tw,ug,uk,ur,uz,vi,vo,wo,xh,yi,yo,za,zh,zu);
CountryCode_ISO3166_1 = (CHE,
ABW,AFG,AGO,AIA,ALA,ALB,AND_,ANT,ARE,ARG,ARM,ASM,ATA,ATF,ATG,AUS,
AUT,AZE,BDI,BEL,BEN,BFA,BGD,BGR,BHR,BHS,BIH,BLR,BLZ,BMU,BOL,BRA,
BRB,BRN,BTN,BVT,BWA,CAF,CAN,CCK,CHL,CHN,CIV,CMR,COD,COG,COK,COL,
COM,CPV,CRI,CUB,CXR,CYM,CYP,CZE,DEU,DJI,DMA,DNK,DOM,DZA,ECU,EGY,
ERI,ESH,ESP,EST,ETH,FIN,FJI,FLK,FRA,FRO,FSM,GAB,GBR,GEO,GGY,GHA,
GIB,GIN,GLP,GMB,GNB,GNQ,GRC,GRD,GRL,GTM,GUF,GUM,GUY,HKG,HMD,HND,
HRV,HTI,HUN,IDN,IMN,IND,IOT,IRL,IRN,IRQ,ISL,ISR,ITA,JAM,JEY,JOR,
JPN,KAZ,KEN,KGZ,KHM,KIR,KNA,KOR,KWT,LAO,LBN,LBR,LBY,LCA,LIE,LKA,
LSO,LTU,LUX,LVA,MAC,MAR,MCO,MDA,MDG,MDV,MEX,MHL,MKD,MLI,MLT,MMR,
MNE,MNG,MNP,MOZ,MRT,MSR,MTQ,MUS,MWI,MYS,MYT,NAM,NCL,NER,NFK,NGA,
NIC,NIU,NLD,NOR,NPL,NRU,NZL,OMN,PAK,PAN,PCN,PER,PHL,PLW,PNG,POL,
PRI,PRK,PRT,PRY,PSE,PYF,QAT,REU,ROU,RUS,RWA,SAU,SDN,SEN,SGP,SGS,
SHN,SJM,SLB,SLE,SLV,SMR,SOM,SPM,SRB,STP,SUR,SVK,SVN,SWE,SWZ,SYC,
SYR,TCA,TCD,TGO,THA,TJK,TKL,TKM,TLS,TON,TTO,TUN,TUR,TUV,TWN,TZA,
UGA,UKR,UMI,URY,USA,UZB,VAT,VCT,VEN,VGB,VIR,VNM,VUT,WLF,WSM,YEM,
ZAF,ZMB,ZWE);
END InternationalCodes_V1.
!! ########################################################################
!!@technicalContact=<EMAIL>
!!@furtherInformation=http://www.geo.admin.ch/internet/geoportal/de/home/topics/geobasedata/models.html
TYPE MODEL Localisation_V1 (en)
AT "http://www.geo.admin.ch" VERSION "2011-08-30" =
IMPORTS UNQUALIFIED InternationalCodes_V1;
STRUCTURE LocalisedText =
Language: LanguageCode_ISO639_1;
Text: MANDATORY TEXT;
END LocalisedText;
STRUCTURE LocalisedMText =
Language: LanguageCode_ISO639_1;
Text: MANDATORY MTEXT;
END LocalisedMText;
STRUCTURE MultilingualText =
LocalisedText : BAG {1..*} OF LocalisedText;
UNIQUE (LOCAL) LocalisedText:Language;
END MultilingualText;
STRUCTURE MultilingualMText =
LocalisedText : BAG {1..*} OF LocalisedMText;
UNIQUE (LOCAL) LocalisedText:Language;
END MultilingualMText;
END Localisation_V1.
!! ########################################################################
!!@technicalContact=<EMAIL>
!!@furtherInformation=http://www.geo.admin.ch/internet/geoportal/de/home/topics/geobasedata/models.html
TYPE MODEL LocalisationCH_V1 (en)
AT "http://www.geo.admin.ch" VERSION "2011-08-30" =
IMPORTS UNQUALIFIED InternationalCodes_V1;
IMPORTS Localisation_V1;
STRUCTURE LocalisedText EXTENDS Localisation_V1.LocalisedText =
MANDATORY CONSTRAINT
Language == #de OR
Language == #fr OR
Language == #it OR
Language == #rm OR
Language == #en;
END LocalisedText;
STRUCTURE LocalisedMText EXTENDS Localisation_V1.LocalisedMText =
MANDATORY CONSTRAINT
Language == #de OR
Language == #fr OR
Language == #it OR
Language == #rm OR
Language == #en;
END LocalisedMText;
STRUCTURE MultilingualText EXTENDS Localisation_V1.MultilingualText =
LocalisedText(EXTENDED) : BAG {1..*} OF LocalisedText;
END MultilingualText;
STRUCTURE MultilingualMText EXTENDS Localisation_V1.MultilingualMText =
LocalisedText(EXTENDED) : BAG {1..*} OF LocalisedMText;
END MultilingualMText;
END LocalisationCH_V1.
!! ########################################################################
!!@technicalContact=<EMAIL>
!!@furtherInformation=http://www.geo.admin.ch/internet/geoportal/de/home/topics/geobasedata/models.html
MODEL Dictionaries_V1 (en)
AT "http://www.geo.admin.ch" VERSION "2011-08-30" =
IMPORTS UNQUALIFIED InternationalCodes_V1;
TOPIC Dictionaries (ABSTRACT) =
STRUCTURE Entry (ABSTRACT) =
Text: MANDATORY TEXT;
END Entry;
CLASS Dictionary =
Language: MANDATORY LanguageCode_ISO639_1;
Entries: LIST OF Entry;
END Dictionary;
END Dictionaries;
END Dictionaries_V1.
!! ########################################################################
!!@technicalContact=<EMAIL>
!!@furtherInformation=http://www.geo.admin.ch/internet/geoportal/de/home/topics/geobasedata/models.html
MODEL DictionariesCH_V1 (en)
AT "http://www.geo.admin.ch" VERSION "2011-08-30" =
IMPORTS UNQUALIFIED InternationalCodes_V1;
IMPORTS Dictionaries_V1;
TOPIC Dictionaries (ABSTRACT) EXTENDS Dictionaries_V1.Dictionaries =
CLASS Dictionary (EXTENDED) =
MANDATORY CONSTRAINT
Language == #de OR
Language == #fr OR
Language == #it OR
Language == #rm OR
Language == #en;
END Dictionary;
END Dictionaries;
END DictionariesCH_V1.
!! ########################################################################
','2020-10-07 14:21:01.024');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_MODEL (filename,iliversion,modelName,content,importDate) VALUES ('CHBase_Part1_GEOMETRY_20110830.ili','2.3','GeometryCHLV03_V1{ CoordSys Units INTERLIS} GeometryCHLV95_V1{ CoordSys Units INTERLIS}','/* ########################################################################
CHBASE - BASE MODULES OF THE SWISS FEDERATION FOR MINIMAL GEODATA MODELS
======
BASISMODULE DES BUNDES MODULES DE BASE DE LA CONFEDERATION
FÜR MINIMALE GEODATENMODELLE POUR LES MODELES DE GEODONNEES MINIMAUX
PROVIDER: GKG/KOGIS - GCS/COSIG CONTACT: <EMAIL>
PUBLISHED: 2011-0830
########################################################################
*/
INTERLIS 2.3;
/* ########################################################################
########################################################################
PART I -- GEOMETRY
- Package GeometryCHLV03
- Package GeometryCHLV95
*/
!! ########################################################################
!! Version | Who | Modification
!!------------------------------------------------------------------------------
!! 2015-02-20 | KOGIS | WITHOUT OVERLAPS added (line 57, 58, 65 and 66)
!! 2015-11-12 | KOGIS | WITHOUT OVERLAPS corrected (line 57 and 58)
!! 2017-11-27 | KOGIS | Meta-Attributes @furtherInformation adapted and @CRS added (line 31, 44 and 50)
!! 2017-12-04 | KOGIS | Meta-Attribute @CRS corrected
!!@technicalContact=<EMAIL>
!!@furtherInformation=https://www.geo.admin.ch/de/geoinformation-schweiz/geobasisdaten/geodata-models.html
TYPE MODEL GeometryCHLV03_V1 (en)
AT "http://www.geo.admin.ch" VERSION "2017-12-04" =
IMPORTS UNQUALIFIED INTERLIS;
IMPORTS Units;
IMPORTS CoordSys;
REFSYSTEM BASKET BCoordSys ~ CoordSys.CoordsysTopic
OBJECTS OF GeoCartesian2D: CHLV03
OBJECTS OF GeoHeight: SwissOrthometricAlt;
DOMAIN
!!@CRS=EPSG:21781
Coord2 = COORD
460000.000 .. 870000.000 [m] {CHLV03[1]},
45000.000 .. 310000.000 [m] {CHLV03[2]},
ROTATION 2 -> 1;
!!@CRS=EPSG:21781
Coord3 = COORD
460000.000 .. 870000.000 [m] {CHLV03[1]},
45000.000 .. 310000.000 [m] {CHLV03[2]},
-200.000 .. 5000.000 [m] {SwissOrthometricAlt[1]},
ROTATION 2 -> 1;
Surface = SURFACE WITH (STRAIGHTS, ARCS) VERTEX Coord2 WITHOUT OVERLAPS > 0.001;
Area = AREA WITH (STRAIGHTS, ARCS) VERTEX Coord2 WITHOUT OVERLAPS > 0.001;
Line = POLYLINE WITH (STRAIGHTS, ARCS) VERTEX Coord2;
DirectedLine EXTENDS Line = DIRECTED POLYLINE;
LineWithAltitude = POLYLINE WITH (STRAIGHTS, ARCS) VERTEX Coord3;
DirectedLineWithAltitude = DIRECTED POLYLINE WITH (STRAIGHTS, ARCS) VERTEX Coord3;
/* minimal overlaps only (2mm) */
SurfaceWithOverlaps2mm = SURFACE WITH (STRAIGHTS, ARCS) VERTEX Coord2 WITHOUT OVERLAPS > 0.002;
AreaWithOverlaps2mm = AREA WITH (STRAIGHTS, ARCS) VERTEX Coord2 WITHOUT OVERLAPS > 0.002;
Orientation = 0.00000 .. 359.99999 CIRCULAR [Units.Angle_Degree] <Coord2>;
Accuracy = (cm, cm50, m, m10, m50, vague);
Method = (measured, sketched, calculated);
STRUCTURE LineStructure =
Line: Line;
END LineStructure;
STRUCTURE DirectedLineStructure =
Line: DirectedLine;
END DirectedLineStructure;
STRUCTURE MultiLine =
Lines: BAG {1..*} OF LineStructure;
END MultiLine;
STRUCTURE MultiDirectedLine =
Lines: BAG {1..*} OF DirectedLineStructure;
END MultiDirectedLine;
STRUCTURE SurfaceStructure =
Surface: Surface;
END SurfaceStructure;
STRUCTURE MultiSurface =
Surfaces: BAG {1..*} OF SurfaceStructure;
END MultiSurface;
END GeometryCHLV03_V1.
!! ########################################################################
!! Version | Who | Modification
!!------------------------------------------------------------------------------
!! 2015-02-20 | KOGIS | WITHOUT OVERLAPS added (line 135, 136, 143 and 144)
!! 2015-11-12 | KOGIS | WITHOUT OVERLAPS corrected (line 135 and 136)
!! 2017-11-27 | KOGIS | Meta-Attributes @furtherInformation adapted and @CRS added (line 109, 122 and 128)
!! 2017-12-04 | KOGIS | Meta-Attribute @CRS corrected
!!@technicalContact=<EMAIL>
!!@furtherInformation=https://www.geo.admin.ch/de/geoinformation-schweiz/geobasisdaten/geodata-models.html
TYPE MODEL GeometryCHLV95_V1 (en)
AT "http://www.geo.admin.ch" VERSION "2017-12-04" =
IMPORTS UNQUALIFIED INTERLIS;
IMPORTS Units;
IMPORTS CoordSys;
REFSYSTEM BASKET BCoordSys ~ CoordSys.CoordsysTopic
OBJECTS OF GeoCartesian2D: CHLV95
OBJECTS OF GeoHeight: SwissOrthometricAlt;
DOMAIN
!!@CRS=EPSG:2056
Coord2 = COORD
2460000.000 .. 2870000.000 [m] {CHLV95[1]},
1045000.000 .. 1310000.000 [m] {CHLV95[2]},
ROTATION 2 -> 1;
!!@CRS=EPSG:2056
Coord3 = COORD
2460000.000 .. 2870000.000 [m] {CHLV95[1]},
1045000.000 .. 1310000.000 [m] {CHLV95[2]},
-200.000 .. 5000.000 [m] {SwissOrthometricAlt[1]},
ROTATION 2 -> 1;
Surface = SURFACE WITH (STRAIGHTS, ARCS) VERTEX Coord2 WITHOUT OVERLAPS > 0.001;
Area = AREA WITH (STRAIGHTS, ARCS) VERTEX Coord2 WITHOUT OVERLAPS > 0.001;
Line = POLYLINE WITH (STRAIGHTS, ARCS) VERTEX Coord2;
DirectedLine EXTENDS Line = DIRECTED POLYLINE;
LineWithAltitude = POLYLINE WITH (STRAIGHTS, ARCS) VERTEX Coord3;
DirectedLineWithAltitude = DIRECTED POLYLINE WITH (STRAIGHTS, ARCS) VERTEX Coord3;
/* minimal overlaps only (2mm) */
SurfaceWithOverlaps2mm = SURFACE WITH (STRAIGHTS, ARCS) VERTEX Coord2 WITHOUT OVERLAPS > 0.002;
AreaWithOverlaps2mm = AREA WITH (STRAIGHTS, ARCS) VERTEX Coord2 WITHOUT OVERLAPS > 0.002;
Orientation = 0.00000 .. 359.99999 CIRCULAR [Units.Angle_Degree] <Coord2>;
Accuracy = (cm, cm50, m, m10, m50, vague);
Method = (measured, sketched, calculated);
STRUCTURE LineStructure =
Line: Line;
END LineStructure;
STRUCTURE DirectedLineStructure =
Line: DirectedLine;
END DirectedLineStructure;
STRUCTURE MultiLine =
Lines: BAG {1..*} OF LineStructure;
END MultiLine;
STRUCTURE MultiDirectedLine =
Lines: BAG {1..*} OF DirectedLineStructure;
END MultiDirectedLine;
STRUCTURE SurfaceStructure =
Surface: Surface;
END SurfaceStructure;
STRUCTURE MultiSurface =
Surfaces: BAG {1..*} OF SurfaceStructure;
END MultiSurface;
END GeometryCHLV95_V1.
!! ########################################################################
','2020-10-07 14:21:01.024');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_MODEL (filename,iliversion,modelName,content,importDate) VALUES ('SO_AGI_GB2AV_Controlling_20201002.ili','2.3','SO_AGI_GB2AV_Controlling_20201002{ GeometryCHLV95_V1 CHAdminCodes_V1}','INTERLIS 2.3;
/** !!------------------------------------------------------------------------------
* !! Version | wer | Änderung
* !!------------------------------------------------------------------------------
* !! 2020-10-02 | sz | Ersterfassung
* !!==============================================================================
*/
!!@ technicalContact="mailto:<EMAIL>"
!!@ furtherInformation="http://geo.so.ch/models/AGI/SO_AGI_GB2AV_Controlling_20201002.uml"
MODEL SO_AGI_GB2AV_Controlling_20201002 (de)
AT "https://agi.so.ch"
VERSION "2020-10-01" =
IMPORTS CHAdminCodes_V1,GeometryCHLV95_V1;
TOPIC Controlling =
OID AS INTERLIS.UUIDOID;
/** Berechnung der Differenz (Delta) zwischen Vollzug einer Mutation im Grundbuch und Nachführung in den Daten der amtlichen Vermessung.
*/
CLASS GB2AV_Vollzugsmeldung_Delta =
/** Mutationsnummer
*/
Mutationsnummer : MANDATORY TEXT*255;
/** Nummerierungsbereich
*/
NBIdent : MANDATORY TEXT*255;
/** Differenz in Tagen
*/
Delta : MANDATORY 0 .. 1000000;
/** Status der Mutation im Grundbuch gemäss Vollzugsmeldung
*/
GB_Status : TEXT*255;
/** Bemerkungen aus der Vollzugsmeldung
*/
GB_Bemerkungen : MTEXT*255;
/** Datum des Grundbucheintrages
*/
GB_Grundbucheintrag : INTERLIS.XMLDate;
/** Datum des Eintrages im Tagebuch
*/
GB_Tagebucheintrag : INTERLIS.XMLDate;
/** Nummer des Tagebuchbelegs
*/
GB_Tagebuchbeleg : MTEXT*255;
/** Beschreibung der Mutation aus der amtlichen Vermessung (lsnachfuerhung.beschreibung)
*/
AV_Beschreibung : TEXT*255;
/** Gueltigkeit der Mutation in den Daten der amtlichen Vermessung (lsnachfuerhung.gueltigkeit)
*/
AV_Gueltigkeit : TEXT*255;
/** Datum des Eintrags der vollzogenen Mutation in den Daten der amtlichen Vermessung
*/
AV_GueltigerEintrag : INTERLIS.XMLDate;
/** Datum des Grundbucheintrags in den Daten der amtlichen Vermessung
*/
AV_GBEintrag : INTERLIS.XMLDate;
/** Zuständiger Nachführungsgeometer (resp. Firma)
*/
AV_Firma : TEXT*255;
/** Name des ursprünglichen Datasets der Vollzugsmeldung.
*/
Datasetname : MANDATORY TEXT*1024;
/** Geometrien der betroffen Grundstücke (als Multipolygon)
*/
Perimeter : GeometryCHLV95_V1.MultiSurface;
/** Art des Grundstückes
*/
Grundstuecksart : MANDATORY TEXT*255;
UNIQUE Datasetname,Grundstuecksart;
END GB2AV_Vollzugsmeldung_Delta;
/** Meldung des Grundbuchs an die amtliche Vermessung
*/
STRUCTURE Vollzugsmeldung =
/** Mutationsnummer
*/
Nummer : MANDATORY TEXT*255;
/** Nummerierungsbereich
*/
NBIdent : MANDATORY TEXT*255;
/** Status der Mutation im Grundbuch
*/
Status : TEXT*255;
/** Bemerkungen zu der Mutation
*/
Bemerkungen : TEXT*1024;
/** Datum des Eintrags im Grundbuch
*/
Grundbucheintrag : INTERLIS.XMLDate;
/** Datum des Eintrags im Tagebuch
*/
Tagebucheintrag : INTERLIS.XMLDate;
/** Tagebuchbelegsnummer
*/
Tagebuchbeleg : TEXT*255;
/** Name des Datasets
*/
Datasetname : MANDATORY TEXT*1024;
END Vollzugsmeldung;
/** Mutationen der amtlichen Vermessung ans Grundbuch inkl. Vollzugsmeldungen
*/
CLASS AV2GB_Mutationen =
/** Mutationsnummer
*/
Mutationsnummer : MANDATORY TEXT*255;
/** Nummerierungsbereich
*/
NBIdent : MANDATORY TEXT*255;
/** Beschrieb der Mutation
*/
Beschrieb : TEXT*1024;
/** Name des mitgeschickten PDF
*/
Dateinameplan : TEXT*1024;
/** Datum der technischen Fertigstellung der Mutation
*/
EndeTechnBereit : INTERLIS.XMLDate;
!!@ <EMAIL>="JSON"
Meldungen : BAG {0..*} OF SO_AGI_GB2AV_Controlling_20201002.Controlling.Vollzugsmeldung;
/** Ist Mutation im Grundbuch eingetragen (vollzogen)?
*/
Grundbucheintrag : BOOLEAN;
/** Perimeter der Mutation
*/
Perimeter : GeometryCHLV95_V1.MultiSurface;
/** Typ der Mutation
*/
IstProjektmutation : MANDATORY TEXT*255;
UNIQUE Dateinameplan;
END AV2GB_Mutationen;
END Controlling;
END SO_AGI_GB2AV_Controlling_20201002.
','2020-10-07 14:21:01.024');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.createMetaInfo','True');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.beautifyEnumDispName','underscore');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.arrayTrafo','coalesce');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.nameOptimization','topic');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.localisedTrafo','expand');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.numericCheckConstraints','create');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.sender','ili2pg-4.3.1-23b1f79e8ad644414773bb9bd1a97c8c265c5082');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.createForeignKey','yes');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.sqlgen.createGeomIndex','True');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.defaultSrsAuthority','EPSG');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.defaultSrsCode','2056');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.uuidDefaultValue','uuid_generate_v4()');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.StrokeArcs','enable');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.multiLineTrafo','coalesce');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.interlis.ili2c.ilidirs','%ILI_FROM_DB;%XTF_DIR;http://models.interlis.ch/;%JAR_DIR');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.createForeignKeyIndex','yes');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.jsonTrafo','coalesce');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.createEnumDefs','multiTable');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.uniqueConstraints','create');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.maxSqlNameLength','60');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.inheritanceTrafo','smart1');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.catalogueRefTrafo','coalesce');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.multiPointTrafo','coalesce');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.multiSurfaceTrafo','coalesce');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_SETTINGS (tag,setting) VALUES ('ch.ehi.ili2db.multilingualTrafo','expand');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_META_ATTRS (ilielement,attr_name,attr_value) VALUES ('DictionariesCH_V1','furtherInformation','http://www.geo.admin.ch/internet/geoportal/de/home/topics/geobasedata/models.html');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_META_ATTRS (ilielement,attr_name,attr_value) VALUES ('DictionariesCH_V1','technicalContact','<EMAIL>');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_META_ATTRS (ilielement,attr_name,attr_value) VALUES ('SO_AGI_GB2AV_Controlling_20201002.Controlling.AV2GB_Mutationen.Meldungen','ili2db.mapping','JSON');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_META_ATTRS (ilielement,attr_name,attr_value) VALUES ('Dictionaries_V1','furtherInformation','http://www.geo.admin.ch/internet/geoportal/de/home/topics/geobasedata/models.html');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_META_ATTRS (ilielement,attr_name,attr_value) VALUES ('Dictionaries_V1','technicalContact','<EMAIL>');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_META_ATTRS (ilielement,attr_name,attr_value) VALUES ('SO_AGI_GB2AV_Controlling_20201002','furtherInformation','http://geo.so.ch/models/AGI/SO_AGI_GB2AV_Controlling_20201002.uml');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_META_ATTRS (ilielement,attr_name,attr_value) VALUES ('SO_AGI_GB2AV_Controlling_20201002','technicalContact','mailto:<EMAIL>');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_META_ATTRS (ilielement,attr_name,attr_value) VALUES ('AdministrativeUnits_V1','furtherInformation','https://www.geo.admin.ch/internet/geoportal/de/home/topics/geobasedata/models.html');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_META_ATTRS (ilielement,attr_name,attr_value) VALUES ('AdministrativeUnits_V1','technicalContact','mailto:<EMAIL>');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_META_ATTRS (ilielement,attr_name,attr_value) VALUES ('AdministrativeUnitsCH_V1','furtherInformation','https://www.geo.admin.ch/de/geoinformation-schweiz/geobasisdaten/geodata-models.html');
INSERT INTO agi_gb2av_controlling_pub.T_ILI2DB_META_ATTRS (ilielement,attr_name,attr_value) VALUES ('AdministrativeUnitsCH_V1','technicalContact','mailto:<EMAIL>');
|
REPLACE PROCEDURE YADAMU.SP_RECREATE_DATABASE ( IN P_DBNAME VARCHAR(128), IN P_DBSIZE DECIMAL(10), P_DBSPEC VARCHAR(31000))
SQL SECURITY INVOKER
BEGIN
DECLARE V_SQL_STATEMENT VARCHAR(32000);
BEGIN
DECLARE CONTINUE HANDLER FOR SQLSTATE '42000', SQLSTATE '52004' BEGIN END;
SET V_SQL_STATEMENT = 'DELETE DATABASE ' || P_DBNAME || ' ALL';
EXECUTE IMMEDIATE V_SQL_STATEMENT;
SET V_SQL_STATEMENT = 'DROP DATABASE ' || P_DBNAME;
EXECUTE IMMEDIATE V_SQL_STATEMENT;
END;
SET V_SQL_STATEMENT = 'CREATE DATABASE ' || P_DBNAME || ' FROM YADAMU_QA AS PERM = ' || P_DBSIZE || ' ' || NVL(P_DBSPEC,'');
EXECUTE IMMEDIATE V_SQL_STATEMENT;
SET V_SQL_STATEMENT = 'GRANT ALL ON ' || P_DBNAME || ' TO DBC WITH GRANT OPTION';
EXECUTE IMMEDIATE V_SQL_STATEMENT;
END;
-- |
<gh_stars>1-10
CREATE PROCEDURE [employer_financial].[GetLevyDeclarations_ByAccountId]
@AccountId bigint = 0
AS
select
x.*
FROM
[employer_financial].[GetLevyDeclarationAndTopUp] x
where
x.EmpRef in (Select EmpRef from [employer_financial].LevyDeclaration where AccountId = @AccountId)
AND (x.LastSubmission = 1 OR x.EndOfYearAdjustment = 1)
order by SubmissionDate asc
|
-- fts3ah.test
--
-- execsql {SELECT rowid FROM t1 WHERE t1 MATCH xterm}
SELECT rowid FROM t1 WHERE t1 MATCH xterm
|
<reponame>kasper-piskorski/rmlmapper-java<filename>src/test/resources/test-cases/RMLTC0002j-SQLServer/resource.sql
USE TestDB;
EXEC sp_msforeachtable 'ALTER TABLE ? NOCHECK CONSTRAINT all'
EXEC sp_msforeachtable 'DROP TABLE ?'
CREATE TABLE student (
"ID" INTEGER,
"Name" VARCHAR(50)
);
INSERT INTO student values ('10', 'Venus');
|
<filename>sql/updateImageLinks.sql
INSERT INTO /*_*/imagelinks(il_from, il_from_namespace, il_to) SELECT il_from, il_from_namespace, REPLACE(il_to, ' ', '_') FROM /*_*/imagelinks WHERE il_to LIKE '% %' ON DUPLICATE KEY UPDATE il_from = VALUES(il_from);
DELETE FROM /*_*/imagelinks WHERE il_to LIKE '% %'; |
-- Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
-- Copyright [2016-2019] EMBL-European Bioinformatics Institute
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
# patch_40_41_g
#
# title: Genebuild version format change
#
# description: Change format of genebuild.version entries in meta table.
UPDATE meta set meta_value = concat('20',substring(meta_value,1,2),'-', substring(meta_value,3,2),'-',substring(meta_value,5)) where meta_key = 'genebuild.version' and meta_value not rlike '^[0-9][0-9][0-9][0-9]-[0-9][0-9]-';
# patch identifier
INSERT INTO meta (meta_key, meta_value) VALUES ('patch', 'patch_41_42_g.sql|genebuild_version_format_change');
|
<gh_stars>0
drop trigger controlHoras;
drop procedure recuperarFunci;
drop procedure recuperarFuncionarios;
drop procedure recuperarUsuario;
drop procedure recuperar_Usuario;
drop procedure insertarFuncionario;
drop procedure insertUser;
drop procedure moduficarFuncionario;
drop procedure modificarUsuario;
drop procedure borrarFuncionario;
drop procedure borrarUsuario;
drop table usuarios cascade;
drop table accesoUser cascade;
drop table coches cascade;
drop table conducen cascade;
create table usuarios
(
userwin varchar(15),
nombre varchar(50),
apellidos varchar(50),
correo varchar(150),
telefono integer,
constraint USR_USW_PK primary key (userwin)
);
create table accesoUser
(
userwin varchar (15),
pass varchar(25),
tipo varchar(10),
constraint ACC_USW_FK foreign key (userwin) references usuarios (userwin) on delete cascade,
constraint ACC_USW_PK primary key (userwin)
);
create table coches
(
marca varchar(25),
modelo varchar(25),
matricula varchar(10),
constraint CCH_MAT_PK primary key (matricula)
);
create table conducen
(
userwin varchar (15),
matricula varchar(10),
fechaRecogida date,
horaRecogida timestamp,
horaEntrega timestamp,
motivo varchar(100),
constraint CND_USW_FK foreign key (userwin) references usuarios(userwin) on delete cascade,
constraint CND_MAT_FK foreign key (matricula) references coches(matricula) on delete cascade,
constraint CND_UMFHI_PK primary key (userwin, matricula, fechaRecogida, horaRecogida) on delete cascade,
constraint CND_FRmFE_CHK check (horaEntrega>horaRecogida),
constraint CND_FER_CHK check (fechaRecogida >= TODAY);
);
--inserts de prueba
insert into usuarios values ('bcastrof','Bruno','Castro','<EMAIL>',17782);
insert into usuarios values ('casinchu','Carmen','Chueca','<EMAIL>',17782);
insert into usuarios values ('szugadib','Sabin','Barron','<EMAIL>',17782);
insert into accesoUser values ('bcastrof','123456', 'admin');
insert into accesoUser values ('casinchu','123456', 'user');
insert into accesoUser values ('szugadib','123456', 'user');
insert into coches values ('Ford', 'Fiesta', '9674-GZF');
insert into coches values ('Opel', 'Moka', '5296-HZG');
insert into coches values ('Renault', 'Clio', '0746-CYS');
insert into CONDUCEN values ('bcastrof','5296-HZG', '2017-10-31', '2017-10-31 08:00:00','2017-10-31 15:00:00','esto es una prueba' );
insert into CONDUCEN values ('bcastrof','5296-HZG', '2017-10-31', '2017-10-31 14:00:00','2017-10-31 16:00:00','esto es una prueba' );
insert into CONDUCEN values ('bcastrof','5296-HZG', '2017-10-31', '2017-11-01 14:59:00','2017-11-01 16:00:00','esto es una prueba' );
--vista carga usuarios
drop view cargausuario;
CREATE VIEW cargaUsuario
as
(select a.USERWIN, a.PASS, a.TIPO, u.NOMBRE, u.APELLIDOS, u.CORREO, u.TELEFONO from accesouser a
join Usuarios u
on
a.USERWIN=u.USERWIN);
|
CREATE TABLE genSpringMySQLTest.Sheet1(id BIGINT NOT NULL primary key auto_increment,
Created TIMESTAMP NOT NULL,
Lastmod TIMESTAMP NOT NULL,
`IntField` INTEGER NOT NULL,
`DateField` DATETIME,
`Text` VARCHAR(7) COMMENT 'len=7',
`DecimalField` REAL);
|
<gh_stars>0
/**
# Get the current status of the Cassandra Deployment and Pods
kubectl -n cassandra get deployments
kubectl -n cassandra get pods
# Get into the pod of one of the Cassandra nodes
kubectl -n cassandra exec deploy/cassandra1 -it -- bash
# Get the status and information about the cluster
nodetool status
nodetool info
# Open up the Cassandra Query Language (CQL) Shell (cqlsh) and you can now execute the DDL and DML statements
cqlsh
**/
DESCRIBE KEYSPACES;
CREATE KEYSPACE practice WITH REPLICATION = { 'class' : 'NetworkTopologyStrategy'};
CREATE KEYSPACE IF NOT EXISTS ecommerce
WITH REPLICATION = {
'class' : 'NetworkTopologyStrategy',
'kubecontrol' : 3 -- replication factor for data center (kubecontrol). DC names are case-sensitive
}
AND DURABLE_WRITES = true;
USE ecommerce;
-- Example of how to create a table with just a primary key and no clustering columns or fields
DROP TABLE IF EXISTS ecommerce.customer_meta;
CREATE TABLE ecommerce.customer_meta
(
customer_id INT PRIMARY KEY,
first_name TEXT,
last_name TEXT,
email TEXT
) WITH comment='Used to store customer meta data. Single partition key with no clustering';
-- Example of how to create a table with just a primary key and no clustering columns or fields
DROP TABLE IF EXISTS ecommerce.customer_meta;
CREATE TABLE customer_meta
(
customer_id INT,
first_name TEXT,
last_name TEXT,
email TEXT,
PRIMARY KEY (customer_id)
) WITH comment='Used to store customer meta data. Single partition key with no clustering';
-- Example of how to create a table with just a primary key with one partition key and one clustering column
DROP TABLE IF EXISTS ecommerce.customer_meta;
CREATE TABLE customer_meta
(
customer_id INT,
first_name TEXT,
last_name TEXT,
email TEXT,
category_id INT,
PRIMARY KEY (customer_id, category_id)
) WITH comment='Used to store customer meta data using category_id as the clustering column';
-- Example of how to create a table with just a primary key with a partition key and two clustering columns
DROP TABLE IF EXISTS ecommerce.customer_meta;
CREATE TABLE customer_meta
(
customer_id INT,
first_name TEXT,
last_name TEXT,
email TEXT,
category_id INT,
country_id TEXT,
PRIMARY KEY (customer_id, category_id, country_id)
) WITH comment='Used to store customer meta data using category_id and country_id as the clustering columns';
-- This example creates a table with partition key, clustering columns and changes the default sorting of how data is stored
DROP TABLE IF EXISTS ecommerce.customer_meta;
CREATE TABLE customer_meta
(
customer_id INT,
first_name TEXT,
last_name TEXT,
email TEXT,
category_id INT,
country_id INT,
PRIMARY KEY (customer_id, country_id, category_id)
) WITH CLUSTERING ORDER BY (country_id ASC, category_id DESC)
AND comment='using customer_id as partition key and country_id and category_id as clustering columns with custom ordering/sorting';
-- This example creates a table with partition key, clustering columns and changes the default sorting of how data is stored
DROP TABLE IF EXISTS ecommerce.customer_meta;
CREATE TABLE customer_meta
(
customer_id INT,
first_name TEXT,
last_name TEXT,
email TEXT,
category_id INT,
country_id INT,
PRIMARY KEY (customer_id, country_id, category_id)
) WITH CLUSTERING ORDER BY (country_id ASC, category_id DESC)
AND comment='using customer_id as partition key and country_id and category_id as clustering columns with custom ordering/sorting';
DROP TABLE IF EXISTS ecommerce.customer_meta;
-- This example creates a table with composite partition key, just one clustering column and changes the default sorting of how data is stored
CREATE TABLE customer_meta
(
customer_id INT,
first_name TEXT,
last_name TEXT,
email TEXT,
category_id INT,
country_id INT,
PRIMARY KEY ((customer_id, country_id), category_id)
) WITH CLUSTERING ORDER BY (category_id DESC)
AND comment='using customer_id and country_id as partition key with category_id as clustering column with custom ordering/sorting';
-- Another example sorting first by country
DROP TABLE IF EXISTS ecommerce.customer_meta;
CREATE TABLE customer_meta
(
customer_id INT,
first_name TEXT,
last_name TEXT,
email TEXT,
category_id INT,
country_id INT,
PRIMARY KEY (customer_id, country_id, category_id)
) WITH CLUSTERING ORDER BY (country_id ASC, category_id DESC)
AND comment='Used to store customer meta data using category_id and country_id as the clustering columns';
-- Another example sorting first by country
DROP TABLE IF EXISTS ecommerce.customer_meta;
CREATE TABLE customer_meta
(
customer_id INT,
first_name TEXT,
last_name TEXT,
email TEXT,
category_id INT,
country_id INT,
country_code VARCHAR,
PRIMARY KEY (customer_id, country_id, category_id)
) WITH CLUSTERING ORDER BY (country_id DESC, category_id ASC)
AND comment='Used to store customer meta data using category_id and country_id as the clustering columns';
--- Tracking sources of customer orders. Uses a composite partition key (customer_id, order_id) with 2 clustering columns order_source_category, product_id
DROP TABLE IF EXISTS ecommerce.customer_order_source_tracking;
CREATE TABLE customer_order_source_tracking
(
customer_id INT,
order_id INT,
order_source_category TEXT, -- website, andriod, ios
first_name TEXT,
last_name TEXT,
email TEXT,
product_id INT,
order_amount FLOAT,
order_created TIMESTAMP,
-- metadata only relevant to website orders
website_id INT,
website_url TEXT,
browser_version TEXT,
-- metadata only relevant to andriod orders
andriod_app_id INT,
andriod_app_version TEXT,
-- metadata only relevant to andriod orders
ios_app_id INT,
ios_app_version TEXT,
PRIMARY KEY ((customer_id, order_id), order_source_category, product_id)
) WITH comment='Used to keep track the specific source of orders and products placed by a customer';
-- Same as above but introduces static columns for fields that are sticky to the partition key (customer_id, order_id)
DROP TABLE IF EXISTS ecommerce.customer_order_source_trackingv2;
-- if you prefix the table name with the keyspace, you do not use to explictly set the default keyspace by name
CREATE TABLE ecommerce.customer_order_source_trackingv2
(
customer_id INT,
order_id INT,
order_source_category TEXT, -- website, andriod, ios
first_name TEXT STATIC,
last_name TEXT STATIC,
email TEXT STATIC,
product_id INT,
order_amount FLOAT,
order_created TIMESTAMP,
-- metadata only relevant to website orders
website_id INT,
website_url TEXT,
browser_version TEXT,
-- metadata only relevant to andriod orders
andriod_app_id INT,
andriod_app_version TEXT,
-- metadata only relevant to andriod orders
ios_app_id INT,
ios_app_version TEXT,
PRIMARY KEY ((customer_id, order_id), order_source_category, product_id)
) WITH comment='Used to keep track the specific source of orders and products placed by a customer. Uses static columns';
|
<filename>ot(1).sql
-- phpMyAdmin SQL Dump
-- version 4.9.2
-- https://www.phpmyadmin.net/
--
-- Servidor: 127.0.0.1:3306
-- Tiempo de generación: 19-02-2020 a las 22:05:07
-- Versión del servidor: 10.4.10-MariaDB
-- Versión de PHP: 7.3.12
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT = @@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS = @@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION = @@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Base de datos: `ot`
--
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `area`
--
DROP TABLE IF EXISTS `area`;
CREATE TABLE IF NOT EXISTS `area`
(
`ID_Area` int(11) NOT NULL AUTO_INCREMENT,
`nombreArea` text COLLATE utf8_spanish_ci NOT NULL,
`fechaArea` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
PRIMARY KEY (`ID_Area`)
) ENGINE = InnoDB
AUTO_INCREMENT = 33
DEFAULT CHARSET = utf8
COLLATE = utf8_spanish_ci;
--
-- Volcado de datos para la tabla `area`
--
INSERT INTO `area` (`ID_Area`, `nombreArea`, `fechaArea`)
VALUES (29, 'Sistemas', '2020-02-19 15:12:54'),
(30, 'Contabilidad', '2020-02-19 15:15:23'),
(31, 'Recursos Humanos', '2020-02-19 15:15:27'),
(32, 'Gerencia', '2020-02-19 15:15:32');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `defecto`
--
DROP TABLE IF EXISTS `defecto`;
CREATE TABLE IF NOT EXISTS `defecto`
(
`ID_Defecto` int(11) NOT NULL AUTO_INCREMENT,
`nombreDefecto` text COLLATE utf8_spanish_ci NOT NULL,
`fechaDefecto` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
PRIMARY KEY (`ID_Defecto`)
) ENGINE = InnoDB
AUTO_INCREMENT = 16
DEFAULT CHARSET = utf8
COLLATE = utf8_spanish_ci;
--
-- Volcado de datos para la tabla `defecto`
--
INSERT INTO `defecto` (`ID_Defecto`, `nombreDefecto`, `fechaDefecto`)
VALUES (12, 'item roto', '2020-02-19 15:01:27'),
(13, 'Mal Servicio', '2020-02-19 15:15:38'),
(14, 'En Espera', '2020-02-19 15:15:47'),
(15, 'Mal Servicio', '2020-02-19 15:15:57');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `nivel`
--
DROP TABLE IF EXISTS `nivel`;
CREATE TABLE IF NOT EXISTS `nivel`
(
`ID_Nivel` int(11) NOT NULL AUTO_INCREMENT,
`escalaMedicionNivel` int(11) NOT NULL,
`nombreNivel` text COLLATE utf8_spanish_ci NOT NULL,
`fechaNivel` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
PRIMARY KEY (`ID_Nivel`)
) ENGINE = InnoDB
AUTO_INCREMENT = 22
DEFAULT CHARSET = utf8
COLLATE = utf8_spanish_ci;
--
-- Volcado de datos para la tabla `nivel`
--
INSERT INTO `nivel` (`ID_Nivel`, `escalaMedicionNivel`, `nombreNivel`, `fechaNivel`)
VALUES (16, 0, 'Pesimo', '2020-02-19 15:01:34'),
(17, 1, 'Malo', '2020-02-19 15:16:04'),
(18, 2, 'Regular', '2020-02-19 15:16:12'),
(19, 3, 'Bueno', '2020-02-19 15:16:20'),
(20, 4, 'Excelente', '2020-02-19 15:16:32'),
(21, 5, 'Perfecto', '2020-02-19 15:16:40');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `orden_trabajo`
--
DROP TABLE IF EXISTS `orden_trabajo`;
CREATE TABLE IF NOT EXISTS `orden_trabajo`
(
`ID_Orden_Trabajo` int(11) NOT NULL AUTO_INCREMENT,
`fechaOrdenTrabajo` timestamp NOT NULL DEFAULT current_timestamp(),
`codigoOrdenTrabajo` text COLLATE utf8_spanish_ci NOT NULL,
`ID_Usuario` int(11) NOT NULL,
`ID_Area` int(11) NOT NULL,
`ID_Defecto` int(11) NOT NULL,
`ID_Nivel` int(11) NOT NULL,
`observacionOrdenTrabajo` text COLLATE utf8_spanish_ci NOT NULL,
`fechaCreacionOrdenTrabajo` timestamp NOT NULL DEFAULT current_timestamp(),
PRIMARY KEY (`ID_Orden_Trabajo`),
KEY `ID_Usuario` (`ID_Usuario`),
KEY `ID_Area` (`ID_Area`),
KEY `ID_Defecto` (`ID_Defecto`),
KEY `ID_Nivel` (`ID_Nivel`)
) ENGINE = InnoDB
AUTO_INCREMENT = 19
DEFAULT CHARSET = utf8
COLLATE = utf8_spanish_ci;
--
-- Volcado de datos para la tabla `orden_trabajo`
--
INSERT INTO `orden_trabajo` (`ID_Orden_Trabajo`, `fechaOrdenTrabajo`, `codigoOrdenTrabajo`, `ID_Usuario`, `ID_Area`,
`ID_Defecto`, `ID_Nivel`, `observacionOrdenTrabajo`, `fechaCreacionOrdenTrabajo`)
VALUES (2, '2020-02-19 16:01:01', 'utf166886245', 23, 30, 15, 20, 'ninguna', '2020-02-19 16:01:01'),
(3, '2020-02-19 16:30:49', 'asdf', 23, 32, 12, 20, 'assadf', '2020-02-19 16:30:49'),
(4, '2020-02-19 16:40:18', 'asdf', 23, 29, 14, 17, 'asdf', '2020-02-19 16:40:18'),
(9, '2020-02-19 17:07:52', 'asdf-8', 23, 29, 13, 17, '', '2020-02-19 17:07:52'),
(10, '2020-02-19 18:57:32', 'asdf', 23, 30, 14, 18, '', '2020-02-19 18:57:32'),
(11, '2020-02-19 18:58:00', 'asdfasdfasdf', 23, 30, 14, 18, '', '2020-02-19 18:58:00'),
(12, '2020-02-19 19:04:27', 'asdf', 23, 29, 14, 18, '', '2020-02-19 19:04:27'),
(13, '2020-02-19 19:05:22', 'asdf', 23, 30, 14, 17, '', '2020-02-19 19:05:22'),
(14, '2020-02-19 19:05:46', 'asdf-asdf', 23, 29, 13, 18, '', '2020-02-19 19:05:46'),
(15, '2020-02-19 19:05:58', 'asdfasdfasdfasdfasdfasdfasdfasdfasdf', 23, 29, 14, 18, '', '2020-02-19 19:05:58'),
(16, '2020-02-19 19:10:36', 'asdfasdf', 23, 29, 13, 17, '', '2020-02-19 19:10:36'),
(17, '2020-02-19 19:14:05', 'asdfasdf', 23, 30, 12, 16, '', '2020-02-19 19:14:05'),
(18, '2020-02-19 20:08:36', 'holamundojava', 23, 29, 13, 17, '', '2020-02-19 20:08:36');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `usuario`
--
DROP TABLE IF EXISTS `usuario`;
CREATE TABLE IF NOT EXISTS `usuario`
(
`ID_Usuario` int(11) NOT NULL AUTO_INCREMENT,
`nombreUsuario` text COLLATE utf8_spanish_ci NOT NULL,
`cedulaUsuario` text COLLATE utf8_spanish_ci NOT NULL,
`passwordUsuario` text COLLATE utf8_spanish_ci NOT NULL,
`perfilUsuario` text COLLATE utf8_spanish_ci NOT NULL,
`fotoUsuario` text COLLATE utf8_spanish_ci NOT NULL,
`estadoUsuario` int(11) NOT NULL,
`ultimoLogin` datetime NOT NULL,
`fechaLogin` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
PRIMARY KEY (`ID_Usuario`)
) ENGINE = InnoDB
AUTO_INCREMENT = 31
DEFAULT CHARSET = utf8
COLLATE = utf8_spanish_ci;
--
-- Volcado de datos para la tabla `usuario`
--
INSERT INTO `usuario` (`ID_Usuario`, `nombreUsuario`, `cedulaUsuario`, `passwordUsuario`, `perfilUsuario`,
`fotoUsuario`, `estadoUsuario`, `ultimoLogin`, `fechaLogin`)
VALUES (23, 'Alfredo', '1234567890',
'$6$rounds=5000$usesomesillystri$5WxXV00Jv1lKssvR375aHSbVfBNbxuKpQx0oQSArCRfoC4IDPBd55jdlRyNa/zsrYE6EJKIQd6sNKKxhyHOne0',
'Administrador', 'vistas/img/usuarios/1234567890/942.png', 1, '2020-02-19 14:03:38', '2020-02-19 19:03:38');
--
-- Restricciones para tablas volcadas
--
--
-- Filtros para la tabla `orden_trabajo`
--
ALTER TABLE `orden_trabajo`
ADD CONSTRAINT `orden_trabajo_ibfk_2` FOREIGN KEY (`ID_Usuario`) REFERENCES `usuario` (`ID_Usuario`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `orden_trabajo_ibfk_4` FOREIGN KEY (`ID_Area`) REFERENCES `area` (`ID_Area`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `orden_trabajo_ibfk_5` FOREIGN KEY (`ID_Defecto`) REFERENCES `defecto` (`ID_Defecto`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `orden_trabajo_ibfk_6` FOREIGN KEY (`ID_Nivel`) REFERENCES `nivel` (`ID_Nivel`) ON DELETE CASCADE ON UPDATE CASCADE;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT = @OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS = @OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION = @OLD_COLLATION_CONNECTION */;
|
<reponame>thedarknet/daemon4
create or replace function static.get_localized_text
( p_text_id static.localized_text_detail.localized_text_id%TYPE
, p_lang static.language)
returns static.localized_text_detail.value%TYPE AS $$
declare
v_text static.localized_text_detail.value%TYPE;
begin
select value into v_text
from static.localized_text_detail
where localized_text_id = p_text_id
and language = p_lang;
if v_text is null
then
v_text = '(UNKNOWN)';
end if;
return v_text;
end; $$
language PLPGSQL security definer;
;
|
=> SELECT current_user;
current_user
--------------
admin
(1 row)
=> select inet_client_addr();
inet_client_addr
------------------
127.0.0.1
(1 row)
=> TABLE passwd;
user_name | pwhash | uid | gid | real_name | home_phone | extra_info | home_dir | shell
-----------+--------+-----+-----+-----------+------------+------------+----------+-------
(0 rows)
=> UPDATE passwd set pwhash = NULL;
UPDATE 0
|
<reponame>sharadbhat/SnapIt<filename>dump.sql
-- MySQL dump 10.13 Distrib 5.7.19, for Win64 (x86_64)
--
-- Host: localhost Database: unsplash
-- ------------------------------------------------------
-- Server version 5.7.19-log
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `favourites`
--
DROP TABLE IF EXISTS `favourites`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `favourites` (
`username` varchar(30) NOT NULL,
`id` varchar(10) NOT NULL,
PRIMARY KEY (`username`,`id`),
KEY `id` (`id`),
CONSTRAINT `favourites_ibfk_1` FOREIGN KEY (`username`) REFERENCES `users` (`username`),
CONSTRAINT `favourites_ibfk_2` FOREIGN KEY (`id`) REFERENCES `images` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `favourites`
--
LOCK TABLES `favourites` WRITE;
/*!40000 ALTER TABLE `favourites` DISABLE KEYS */;
INSERT INTO `favourites` VALUES ('sharad','MTA5Mz'),('sharad','MTI0OT'),('sharad','NTg0NT'),('sharad','ODkzOT');
/*!40000 ALTER TABLE `favourites` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `images`
--
DROP TABLE IF EXISTS `images`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `images` (
`id` varchar(10) NOT NULL,
`title` text,
`uploader` varchar(30) DEFAULT NULL,
`likes` int(11) DEFAULT NULL,
`tags` text,
PRIMARY KEY (`id`),
KEY `uploader` (`uploader`),
CONSTRAINT `images_ibfk_1` FOREIGN KEY (`uploader`) REFERENCES `users` (`username`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `images`
--
LOCK TABLES `images` WRITE;
/*!40000 ALTER TABLE `images` DISABLE KEYS */;
INSERT INTO `images` VALUES ('MjAzOD','Top View of Forest','shaman',0,'forest drone green trees'),('Mjc1Mj','Circular Ceiling','sharad',0,'architecture circle lines'),('MjczOT','Faded Greens','mckinnon',0,'faded green leaf plant nature'),('MjEwOT','Soar','mohandas',0,'fog eagle trees blue mountain nature sky clouds'),('MjgwNz','Sharp Concentrics','mckinnon',0,'cactus green flower nature'),('MjIxOD','Patterns','alen',0,'pattern sharp brown diagonal'),('Mjk3Mz','Circular Staircase','shaman',0,'circle stairs dark lights architecture'),('MjQ0OD','Purple Windows','suman',0,'purple architecture dark night lights'),('MTA5Mz','Plane in a Forest','shaman',1,'aeroplane forest green jungle drone'),('MTc2Mz','Dark Purples','mckinnon',0,'dark purple flowers white macro'),('MTE2NT','Hard Waters','suman',0,'water waterfall brown drone'),('MTEzOT','Faded Flowers','alen',0,'faded flowers petals colorful'),('MTI0OT','Apocalyptic Beach','mattih',1,'beach water green sand drone view'),('MTM0OD','Hexagonal Windows','sharad',0,'hexagon architecture windows pattern'),('MTM2OD','Beach Rocks','max',0,'beach drone rocks waves blue brown water white'),('MTU2OT','Deserted City','mckinnon',0,'city buildings faded concrete jungle road'),('Mzg0Mz','White Squares','sig',0,'white architecture lines light squares'),('Mzk2NT','Rocky Waves','alen',0,'clear sky rocks brown blue waves'),('MzQwOD','Sandy Isthmus','max',0,'water blue drone dark beach'),('NDk2NT','Calm Waters','mattih',0,'water rocks mountains peaks'),('Njg4Mj','Escalator','mattih',0,'steps faded lights underground'),('NjMzNz','Airport Ceiling','sharad',0,'architecture color lines ceiling'),('NjU5MD','Red Building','sharad',0,'red architecture building futuristic dark lights'),('NTg0NT','Bridge Lines','suman',1,'lines white minimal concrete bridge'),('ODA3Nj','Macro Leaf','max',0,'macro leaf green light lines'),('ODcxNT','Cracks','swappnal',0,'cracks lines blue brown'),('ODkzOT','Boats on Water','swappnal',1,'boats water blue calm white');
/*!40000 ALTER TABLE `images` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `users`
--
DROP TABLE IF EXISTS `users`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `users` (
`username` varchar(30) NOT NULL,
`password` text,
PRIMARY KEY (`username`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `users`
--
LOCK TABLES `users` WRITE;
/*!40000 ALTER TABLE `users` DISABLE KEYS */;
INSERT INTO `users` VALUES ('alen','pbkdf2:sha256:50000$QQpjD2Ww$2f63f869433813bf7035f0b5fb434737d93233cd968c930db7a31643c52c735d'),('mattih','pbkdf2:sha256:50000$EAz9vamW$c339b298d028856b861b3dc4d7cdc46683fdf82e54f5017475d8472fc0569975'),('max','pbkdf2:sha256:50000$4ABdZ7kQ$4b89a6c793ef5828300ed1956dc23aaf8170b7068c98f6bb8cab66e1a5b1d871'),('mckinnon','pbkdf2:sha256:50000$YfWxqNTJ$5a8281312a498cf1764640d6c64203efe4757a2ee4f513b17d1ab03a1cbcb111'),('mohandas','pbkdf2:sha256:50000$P2KisPuO$010fef57caa21c679b3d184582b9c17d3a2d49ead93bffee8a23c4d148526134'),('prajwal','pbkdf2:sha256:50000$6MbmK4Id$3c75e01574e1bba3e4a638388bbae6f0dae24adcce15a89b8d39c333bc954117'),('shaman','pbkdf2:sha256:50000$nViXHEj5$835ecd4861091b360d401b609917ef05966462301c3383be8de629efaa5bee6f'),('sharad','pbkdf2:sha256:50000$qLwjrBqo$ddcebe23e6d211efb5028eff49a0356e3ac7ae18dcb7068e8c58a188ae667987'),('sig','pbkdf2:sha256:50000$gIHEvRM0$c77e6a04548b02b169b3676c7aeb362008b4bf1bbcd16dd647d9e3996cbd69ef'),('suman','pbkdf2:sha256:50000$cZGiqWjy$cce490968d3dc68fe41f328d8b1e08d47570ea522efc76f766a86b2b85384eeb'),('swappnal','pbkdf2:sha256:50000$4ZYb54ZK$d5a2f63e5e2677a847606c4a3d07f78607eaa9358b618de4d011a1b2b25eabc6');
/*!40000 ALTER TABLE `users` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2018-10-21 1:59:29
|
create table if not exists `symbols` (
`id` int not null auto_increment primary key,
`name` varchar(20),
`created_at` timestamp default current_timestamp,
`updated_at` timestamp default current_timestamp on update current_timestamp
);
create table if not exists `bots` (
`id` int not null auto_increment primary key,
`name` varchar(20),
`avatar_url` varchar(500),
`token` varchar(500),
`created_at` timestamp default current_timestamp,
`updated_at` timestamp default current_timestamp on update current_timestamp
);
|
<gh_stars>0
CREATE TABLE IF NOT EXISTS `character_friends` (
`charId` INT UNSIGNED NOT NULL default 0,
`friendId` INT UNSIGNED NOT NULL DEFAULT 0,
`relation` INT UNSIGNED NOT NULL DEFAULT 0,
PRIMARY KEY (`charId`,`friendId`)
); |
IF EXISTS (SELECT 1 FROM sys.views WHERE Name = N'MyNewView')
BEGIN
DROP VIEW [dbo].MyNewView
END
GO
CREATE VIEW [dbo].MyNewView AS
SELECT
TheColumn
FROM [dbo].[MyTable]
GO
|
<filename>analyze/DB/estimated_cse_student_DB_dump.sql
SET sql_mode='NO_BACKSLASH_ESCAPES';
CREATE TABLE estimated_cse_students(entrance_year integer, studentID text, traced_date date);
INSERT INTO estimated_cse_students VALUES(2016,'g1640019','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640028','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640037','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640046','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640055','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640064','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640073','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640082','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640091','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640109','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640118','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640127','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640136','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640145','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640154','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640163','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640172','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640181','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640190','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640208','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640217','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640226','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640235','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640244','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640253','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640262','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640271','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640280','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640299','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640307','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640316','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640325','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640334','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640343','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640352','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640361','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640370','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640389','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640406','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640415','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640424','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640433','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640442','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640451','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640460','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640479','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640488','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640497','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640505','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640514','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640523','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640532','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640541','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640550','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640569','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640578','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640587','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640596','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640604','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640613','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640622','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640631','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640640','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640659','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640668','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640677','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640686','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640695','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640703','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640712','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640721','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640730','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640749','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640758','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640767','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640776','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640785','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640794','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640802','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640811','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640820','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640839','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640848','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640857','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640866','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640875','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640884','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640893','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640901','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640910','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640929','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640938','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640947','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640956','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640965','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640974','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640983','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1640992','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641009','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641018','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641027','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641036','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641045','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641054','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641063','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641072','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641081','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641090','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641108','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641117','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641126','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641135','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641144','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641153','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641162','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641171','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641180','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641199','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641207','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641216','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641225','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641234','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641243','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641252','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641261','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641270','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641289','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641298','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641306','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641315','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641324','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641333','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641342','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641351','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641360','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641379','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641388','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641397','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641405','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641414','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641423','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641432','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641441','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641450','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641469','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641478','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641487','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641496','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641504','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641513','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641522','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641531','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641540','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641559','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641568','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641577','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641586','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641595','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641603','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641612','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641621','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641630','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641649','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641658','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641667','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641676','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641685','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641694','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641702','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641711','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641720','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641739','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641748','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641757','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641766','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641775','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641784','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641793','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641801','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641810','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641829','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641838','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641847','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641856','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641865','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641874','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641883','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641892','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641900','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641919','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641928','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641937','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641946','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641955','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641964','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641973','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641982','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1641991','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642008','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642017','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642026','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642035','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642044','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642053','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642062','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642071','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642080','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642099','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642107','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642116','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642125','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642134','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642143','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642152','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642161','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642170','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642189','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642198','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642206','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642215','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642224','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642233','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642242','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642251','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642260','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642279','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642288','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642297','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642305','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642314','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642323','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642332','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642341','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642350','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642369','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642378','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642387','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642396','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642404','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642413','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642422','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642431','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642440','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642459','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642468','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642477','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642486','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642495','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642503','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642512','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642521','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642530','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642549','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642558','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642567','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642576','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642585','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642594','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642602','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642611','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642620','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642639','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642648','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642657','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642666','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642675','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642684','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642693','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642701','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642710','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642729','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642738','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642747','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642756','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642765','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642774','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642783','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642792','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642800','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642819','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642828','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642837','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642846','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642864','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642873','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642882','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642891','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642909','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642918','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642927','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642936','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642945','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642954','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642963','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642972','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1642981','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644015','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644024','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644033','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644042','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644051','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644060','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644079','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644088','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644097','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644105','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644114','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644123','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644132','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644141','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644150','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644169','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644178','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644187','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644196','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644204','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644213','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644222','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644231','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644240','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644259','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644268','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644277','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644286','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644295','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644303','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644312','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644321','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644330','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644349','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644358','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644367','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644376','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644385','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644394','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644402','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644411','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644420','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644439','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644448','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644457','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644466','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644475','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644484','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644493','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644501','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644510','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644529','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644538','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644547','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644556','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644565','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644574','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644583','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644592','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644600','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644619','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644628','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644637','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644646','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644655','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644673','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644682','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644691','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644709','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644718','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644727','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644736','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644745','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644754','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644763','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644772','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644781','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644790','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644808','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644817','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644826','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644835','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644844','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644853','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644862','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644871','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644880','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644899','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644907','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644916','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644925','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644934','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644943','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644952','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644961','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644970','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644989','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1644998','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645005','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645014','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645023','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645032','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645041','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645050','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645069','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645078','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645087','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645096','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645104','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645113','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645122','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645131','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645140','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645159','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645168','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645177','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645186','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645195','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645203','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645212','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645221','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645230','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645249','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645258','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645267','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645276','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645285','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645294','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645302','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645311','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645320','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645339','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645348','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645357','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645366','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645375','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645384','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645393','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1645401','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647012','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647021','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647030','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647049','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647058','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647067','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647076','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647085','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647094','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647102','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647111','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647120','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647139','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647148','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647157','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647166','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647175','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647184','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647193','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647201','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647210','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647229','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647238','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647247','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647256','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647265','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647274','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647283','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647292','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647300','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647319','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647328','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647337','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647346','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647355','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647364','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647373','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647382','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647391','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647409','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647418','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647427','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647436','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647445','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647454','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647463','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647472','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647481','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647490','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647508','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647517','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647526','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647535','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647544','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647553','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647562','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647571','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647580','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647599','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647607','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647616','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647625','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647634','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647643','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647652','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647661','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647670','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647689','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647698','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647706','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647715','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647724','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647733','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647742','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647751','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647760','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647779','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647788','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647797','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647805','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647814','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647823','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647832','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647841','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647850','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647869','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647878','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647887','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647896','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647904','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647913','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647922','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647931','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647940','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647959','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647968','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647977','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647986','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1647995','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1648002','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1648011','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1648020','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1648039','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1648048','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1648057','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1648066','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1648075','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1648084','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1648093','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1648101','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1648110','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1648129','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1648138','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1648147','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1648156','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1648165','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1648174','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1648183','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1648192','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1648200','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1648219','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1648228','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2016,'g1648237','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2008,'g0846002','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846011','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846020','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846039','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846048','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846057','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846066','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846075','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846084','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846093','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846101','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846110','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846129','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846138','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846147','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846156','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846165','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846174','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846183','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846192','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846200','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846219','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846228','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846237','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846246','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846255','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846264','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846273','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846282','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846291','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846309','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846318','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846327','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846336','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846345','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846354','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846363','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846372','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846381','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846390','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846408','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846417','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846426','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846435','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846444','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846453','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846462','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846471','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846480','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846499','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846507','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846516','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846525','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846534','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846543','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846552','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846561','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846570','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846589','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846598','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846606','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846615','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846624','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846633','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846642','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846651','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846660','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846679','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846688','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846697','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846705','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846714','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846723','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846732','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846741','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846750','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846769','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846778','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846787','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846796','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846804','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846813','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846822','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846831','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846840','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846859','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846868','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846877','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846886','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846895','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846903','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846912','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846921','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846930','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846949','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846958','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846967','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846976','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846985','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0846994','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847001','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847010','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847029','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847038','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847047','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847056','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847065','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847074','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847083','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847092','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847100','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847119','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847128','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847137','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847146','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847155','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847164','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847173','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847182','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847191','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847209','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847218','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847227','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847236','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847245','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847254','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847263','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847272','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847281','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847290','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847308','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847317','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847326','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847335','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847344','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847353','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847362','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847371','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847380','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847399','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847407','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847416','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847425','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847434','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847443','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847452','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847461','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847470','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2008,'g0847489','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946010','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946029','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946038','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946047','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946056','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946065','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946074','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946083','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946092','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946100','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946119','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946128','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946137','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946146','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946155','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946164','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946173','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946182','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946191','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946209','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946218','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946227','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946236','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946245','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946254','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946263','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946272','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946281','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946290','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946308','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946317','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946326','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946335','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946344','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946353','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946362','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946371','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946380','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946399','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946407','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946416','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946425','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946434','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946443','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946452','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946461','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946470','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946489','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946498','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946506','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946515','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946524','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946533','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946542','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946551','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946560','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946579','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946588','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946597','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946605','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946614','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946623','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946632','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946641','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946650','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946669','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946678','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946687','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946696','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946704','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946713','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946722','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946731','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946740','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946759','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946768','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946777','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946786','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946795','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946803','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946812','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946821','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946830','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946849','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946858','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946867','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946876','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946885','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946894','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946902','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946911','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946920','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946939','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946948','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946957','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946966','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946975','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946984','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0946993','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947000','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947019','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947028','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947037','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947046','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947055','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947064','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947073','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947082','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947091','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947109','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947118','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947127','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947136','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947145','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947154','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947163','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947172','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947181','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947190','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947208','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947217','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947226','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947235','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947244','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947253','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947262','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947271','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947280','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947299','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947307','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947316','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947325','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947334','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947343','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947352','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947361','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947370','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947389','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947398','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947406','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947415','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947424','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947433','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947442','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947451','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947460','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947479','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947488','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947497','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947505','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947514','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947523','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947532','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947541','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947550','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947569','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947578','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947587','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947596','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947604','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2009,'g0947613','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044011','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044020','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044039','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044048','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044057','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044066','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044075','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044084','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044093','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044101','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044110','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044129','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044138','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044147','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044156','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044165','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044174','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044183','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044192','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044200','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044219','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044228','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044237','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044246','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044255','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044264','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044273','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044282','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044291','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044309','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044318','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044327','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044336','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044345','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044354','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044363','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044372','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044381','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044390','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044408','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044417','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044426','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044435','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044444','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044453','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044462','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044471','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044480','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044499','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044507','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044516','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044525','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044534','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044543','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044552','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044561','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044570','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044589','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044598','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044606','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044615','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044624','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044633','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044642','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044651','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044660','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044679','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044688','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044697','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044705','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044714','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044723','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044732','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044741','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044750','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044769','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044778','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044787','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044796','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044804','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044813','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044822','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044831','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044840','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044859','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044868','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044877','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044886','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044895','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044903','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044912','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044921','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044930','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044949','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044958','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044967','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044976','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044985','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1044994','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1045001','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1045010','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1045029','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1045038','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1045047','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1045056','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1045065','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1045074','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1045083','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1045092','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1045100','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1045119','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1045128','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1045137','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1045146','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1045155','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1045164','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1045173','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1045182','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1045191','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1045209','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1045218','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1045227','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1045236','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1045245','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1045254','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1045263','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1045272','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1045281','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1045290','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1045308','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1045317','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1045326','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2010,'g1045335','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2011,'g1144010','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144029','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144038','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144047','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144056','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144065','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144074','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144083','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144092','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144100','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144119','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144128','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144137','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144146','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144155','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144164','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144173','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144182','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144191','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144209','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144218','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144227','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144236','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144245','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144254','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144263','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144272','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144281','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144290','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144308','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144317','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144326','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144335','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144344','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144353','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144362','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144371','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144380','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144399','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144407','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144416','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144425','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144434','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144443','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144452','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144461','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144470','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144489','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144498','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144506','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144515','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144524','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144533','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144542','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144551','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144560','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144579','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144588','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144597','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144605','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144614','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144623','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144632','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144641','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144650','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144669','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144678','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144687','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144696','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144704','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144713','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144722','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144731','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144740','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144759','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144768','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144777','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144786','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144795','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144803','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144812','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144821','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144830','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144849','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144858','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144867','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144876','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144885','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144894','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144902','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144911','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144920','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144939','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144948','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144957','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144966','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144975','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144984','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1144993','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145000','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145019','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145028','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145037','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145046','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145055','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145064','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145073','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145082','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145091','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145109','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145118','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145127','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145136','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145145','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145154','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145163','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145172','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145181','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145190','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145208','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145217','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145226','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145235','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145244','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145253','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145262','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145271','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145280','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145299','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145307','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145316','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145325','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145334','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145343','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145352','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145361','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145370','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145389','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145398','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145406','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145415','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145424','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145433','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145442','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145451','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145460','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145479','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145488','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2011,'g1145497','2015-07-14');
INSERT INTO estimated_cse_students VALUES(2012,'g1244028','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244037','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244046','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244055','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244064','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244073','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244082','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244091','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244109','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244118','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244127','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244136','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244145','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244154','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244163','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244172','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244181','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244190','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244208','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244217','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244226','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244235','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244244','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244253','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244262','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244271','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244280','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244299','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244307','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244316','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244325','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244334','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244343','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244352','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244361','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244370','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244389','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244398','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244406','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244415','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244424','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244433','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244442','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244451','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244460','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244479','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244488','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244497','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244505','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244514','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244523','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244532','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244541','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244550','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244569','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244578','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244587','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244596','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244604','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244613','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244622','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244631','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244640','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244659','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244668','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244677','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244686','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244695','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244703','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244712','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244721','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244730','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244749','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244758','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244767','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244776','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244785','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244794','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244802','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244811','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244820','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244839','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244848','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244857','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244866','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244875','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244884','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244893','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244901','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244910','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244929','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244938','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244947','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244956','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244965','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244974','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244983','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1244992','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245009','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245018','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245027','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245036','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245045','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245054','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245063','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245072','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245081','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245090','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245108','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245117','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245126','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245135','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245144','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245153','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245162','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245171','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245180','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245199','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245207','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245216','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245225','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245234','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245243','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245252','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245261','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245270','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245289','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245298','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245306','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245315','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245324','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245333','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245342','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245351','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245360','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245379','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2012,'g1245388','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344018','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344027','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344036','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344045','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344054','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344063','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344072','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344081','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344090','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344108','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344117','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344126','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344135','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344144','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344153','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344162','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344171','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344180','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344199','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344207','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344216','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344225','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344234','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344243','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344252','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344261','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344270','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344289','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344298','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344306','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344315','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344324','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344333','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344342','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344351','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344360','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344379','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344388','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344397','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344405','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344414','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344423','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344432','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344441','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344450','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344469','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344478','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344487','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344496','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344504','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344513','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344522','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344531','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344540','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344559','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344568','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344577','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344586','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344595','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344603','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344612','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344621','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344630','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344649','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344658','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344667','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344676','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344685','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344694','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344702','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344711','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344720','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344739','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344748','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344757','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344766','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344775','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344784','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344793','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344801','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344810','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344829','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344838','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344847','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344856','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344865','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344874','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344883','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344892','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344900','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344919','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344928','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344937','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344946','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344955','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344964','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344973','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344982','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1344991','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345008','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345017','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345026','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345035','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345044','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345053','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345062','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345071','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345080','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345099','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345107','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345116','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345125','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345134','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345143','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345152','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345161','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345170','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345189','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345198','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345206','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345215','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345224','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345233','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345242','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345251','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345260','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345279','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345288','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345297','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345305','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345314','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345323','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345332','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345341','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345350','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345369','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345378','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345387','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345396','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345404','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345413','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345422','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345431','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345440','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345459','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345468','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345477','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345486','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345495','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345503','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345512','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345521','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345530','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345549','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345558','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345567','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345576','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345585','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345594','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345602','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345611','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345620','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345639','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345648','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345657','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345666','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345675','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345684','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345693','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345701','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345710','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345729','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345738','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345747','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345756','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345765','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345774','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345783','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345792','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345800','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345819','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345828','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345837','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345846','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345855','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345864','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345873','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345882','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345891','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345909','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345918','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345927','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345936','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345945','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345954','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345963','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345972','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345981','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1345990','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346007','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346016','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346025','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346034','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346043','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346052','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346061','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346070','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346089','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346098','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346106','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346115','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346124','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346133','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346142','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346151','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346160','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346179','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346188','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346197','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346205','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346214','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346223','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346232','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346241','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346250','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346269','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346278','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346287','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346296','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346304','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346313','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346322','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346331','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346340','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346359','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346368','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346377','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346386','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346395','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346403','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346412','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346421','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346430','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346449','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346458','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346467','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346476','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346485','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346494','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346502','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346511','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346520','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346539','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346548','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346557','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346566','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346575','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346584','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346593','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346601','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346610','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346629','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346638','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346647','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346656','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346665','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346674','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346683','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346692','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346700','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346719','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346728','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346737','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346746','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346755','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346764','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346773','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346782','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346791','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346809','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346818','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346827','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346836','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346845','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346854','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346863','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346872','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346881','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346890','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346908','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346917','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346926','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346935','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346944','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346953','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346962','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346971','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346980','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1346999','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347006','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347015','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347024','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347033','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347042','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347051','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347060','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347079','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347088','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347097','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347105','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347114','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347123','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347132','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347141','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347150','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347169','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347178','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347187','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347196','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347204','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347213','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347222','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347231','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347240','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347259','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347268','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347277','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347286','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347295','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347303','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347312','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347321','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347330','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347349','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347358','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347367','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347376','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347385','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347394','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347402','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347411','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347420','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347439','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347448','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347457','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347466','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347475','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347484','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347493','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347501','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347510','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347529','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347538','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347547','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347556','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347565','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347574','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347583','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347592','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347600','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347619','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347628','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347637','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347646','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347655','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347664','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347673','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347682','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347691','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347709','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347718','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347727','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347736','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347745','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347754','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347763','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347772','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347781','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347790','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347808','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347817','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347826','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347835','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347844','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347853','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347862','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347871','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347880','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347899','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347907','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347916','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347925','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347934','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347943','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347952','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347961','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347970','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347989','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1347998','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348005','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348014','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348023','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348032','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348041','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348050','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348069','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348078','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348087','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348096','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348104','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348113','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348122','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348131','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348140','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348159','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348168','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348177','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348186','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348195','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348203','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348212','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348221','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348230','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348249','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348258','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348267','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348276','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348285','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348294','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348302','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348311','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348320','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348339','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348348','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348357','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348366','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348375','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348384','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348393','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348401','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348410','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348429','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348438','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348447','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348456','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348465','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348474','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348483','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348492','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348500','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348519','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348528','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348537','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348546','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348555','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348564','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348573','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348582','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348591','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348609','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348618','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348627','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348636','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348645','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348654','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348663','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348672','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348681','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348690','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348708','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348717','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348726','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348735','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348744','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348753','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348762','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348771','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348780','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348799','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348807','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348816','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348825','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348834','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348843','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348852','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348861','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348870','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348889','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348898','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348906','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348915','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348924','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348933','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348942','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348951','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348960','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348979','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348988','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1348997','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1349004','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1349013','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1349022','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2013,'g1349031','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444026','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444035','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444044','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444053','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444062','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444071','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444080','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444099','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444107','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444116','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444125','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444134','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444143','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444152','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444161','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444170','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444189','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444198','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444206','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444215','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444224','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444233','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444242','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444251','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444260','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444279','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444288','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444297','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444305','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444314','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444323','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444332','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444341','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444350','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444369','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444378','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444387','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444396','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444404','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444413','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444422','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444431','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444440','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444459','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444468','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444477','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444486','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444495','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444503','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444512','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444521','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444530','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444549','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444558','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444567','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444576','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444585','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444594','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444602','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444611','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444620','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444639','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444648','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444657','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444666','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444675','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444684','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444693','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444701','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444710','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444729','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444738','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444747','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444756','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444765','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444774','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444783','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444792','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444800','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444819','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444828','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444837','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444846','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444855','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444864','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444873','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444882','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444891','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444909','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444918','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444927','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444936','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444945','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444954','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444963','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444972','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444981','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1444990','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445007','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445016','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445025','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445034','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445043','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445052','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445061','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445070','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445089','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445098','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445106','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445115','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445124','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445133','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445142','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445151','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445160','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445179','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445188','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445197','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445205','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445214','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445223','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445232','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445241','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445250','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445269','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445278','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445287','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445296','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445304','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445313','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445322','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445331','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445340','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445359','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445368','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445377','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445386','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445395','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445403','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445412','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445421','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445430','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445449','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445458','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445467','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445476','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445485','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445494','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445502','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445511','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2014,'g1445520','2017-04-08');
INSERT INTO estimated_cse_students VALUES(2015,'g1540074','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540083','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540092','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540100','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540119','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540128','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540137','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540146','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540155','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540164','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540173','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540182','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540191','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540209','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540218','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540227','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540236','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540245','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540254','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540263','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540272','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540281','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540290','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540308','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540317','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540326','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540335','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540344','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540353','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540362','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540371','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540380','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540399','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540407','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540416','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540425','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540434','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540443','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540452','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540461','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540470','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540489','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540498','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540506','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540515','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540524','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540533','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540542','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540551','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540560','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540579','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540588','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540597','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540605','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540614','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540623','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540632','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540641','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540650','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540669','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540678','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540687','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540696','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540704','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540713','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540722','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540731','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540740','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540759','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540768','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540777','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540786','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540795','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540803','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540812','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540821','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540830','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540849','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540858','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540867','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540876','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540885','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540894','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540902','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540911','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540920','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540939','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540948','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540957','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540966','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540975','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540984','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1540993','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541000','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541019','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541028','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541037','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541046','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541055','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541064','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541073','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541082','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541091','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541109','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541118','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541127','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541136','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541145','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541154','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541163','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541172','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541181','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541190','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541208','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541217','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541226','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541235','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541244','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541253','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541262','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541271','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541280','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541299','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541307','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541316','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541325','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541334','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541343','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541352','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541361','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541370','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541389','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541398','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541406','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541415','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541424','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541433','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541442','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541451','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541460','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541479','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541488','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541497','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541505','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541514','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541523','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541532','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541541','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541550','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541569','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541578','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541587','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541596','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541604','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541613','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541622','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541631','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541640','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541659','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541668','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541677','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541686','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541695','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541703','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541712','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541721','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541730','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541749','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541758','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541767','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541776','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541785','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541794','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541802','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541811','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541820','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541839','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541848','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541857','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541866','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541875','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541884','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541893','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541901','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541910','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541929','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541938','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541947','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541956','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541965','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541974','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541983','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1541992','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542009','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542018','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542027','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542036','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542045','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542054','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542063','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542072','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542081','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542090','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542108','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542117','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542126','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542135','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542144','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542153','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542162','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542171','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542180','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542199','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542207','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542216','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542225','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542234','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542243','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542252','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542261','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542270','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542289','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542298','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542306','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542315','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542324','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542333','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542342','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542351','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542360','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542379','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542388','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542397','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542405','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542414','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542423','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542432','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542441','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542450','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542469','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542478','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542487','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542496','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542504','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542513','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542522','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542531','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542540','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542559','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542568','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542577','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542586','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542595','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542603','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542612','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542621','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542630','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542649','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542658','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542667','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542676','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542685','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542694','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542702','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542711','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542720','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542739','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542748','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542757','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542766','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542775','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542784','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542793','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542801','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542810','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542829','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542838','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542847','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542856','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542865','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542874','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542883','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542892','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542900','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542919','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542928','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542937','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542946','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542955','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542964','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542973','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542982','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1542991','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543008','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543017','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543026','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543035','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543044','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543053','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543062','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543071','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543080','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543099','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543107','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543116','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543125','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543134','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543143','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543152','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543161','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543170','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543189','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543198','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543206','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543215','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543224','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543233','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543242','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543251','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543260','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543279','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543288','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543297','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543305','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543314','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543323','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543332','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543341','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543350','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543369','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543378','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543387','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543396','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543404','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543413','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543422','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543431','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543440','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543459','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543468','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543477','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543486','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543495','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543503','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543512','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543521','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543530','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543549','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543558','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543567','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543576','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543585','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543594','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543602','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543611','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543620','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543639','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543648','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543657','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543666','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543675','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543684','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543693','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543701','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543710','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543729','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543738','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543747','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543756','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543765','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543774','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543783','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543792','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543800','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543819','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543828','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543837','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543846','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543855','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543864','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543873','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543882','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543891','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543909','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543918','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543927','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543936','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543945','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543954','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543963','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543972','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543981','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1543990','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544007','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544016','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544025','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544034','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544043','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544052','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544061','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544070','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544089','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544098','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544106','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544115','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544124','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544133','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544142','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544151','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544160','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544179','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544188','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544197','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544205','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544214','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544223','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544232','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544241','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544250','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544269','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544278','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544287','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544296','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544304','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544313','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544322','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544331','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544340','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544359','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544368','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544377','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544386','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544395','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544403','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544412','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544421','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544430','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544449','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544458','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544467','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544476','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544485','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544494','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544502','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544511','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544520','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544539','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544548','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544557','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544566','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544575','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544584','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544593','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544601','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544610','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544629','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544638','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544647','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544656','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544665','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544674','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544683','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544692','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544700','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544719','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544728','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544737','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544746','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544755','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544764','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544773','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544782','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544791','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544809','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544818','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544827','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544836','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544845','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544854','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544863','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544872','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544881','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544890','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544908','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544917','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544926','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544935','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544944','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544953','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544962','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544971','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544980','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1544999','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545006','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545015','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545024','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545033','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545042','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545051','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545060','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545079','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545088','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545097','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545105','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545114','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545123','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545132','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545141','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545150','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545169','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545178','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545187','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545196','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545204','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545213','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545222','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545231','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545240','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545259','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545268','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545277','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545286','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545295','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545303','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545312','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545321','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545330','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545349','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545358','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545367','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545376','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545385','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545394','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545402','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545411','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545420','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545439','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545448','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545457','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545466','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545475','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545484','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545493','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545501','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545510','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545529','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545538','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545547','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545556','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545565','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545574','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545583','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545592','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545600','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545619','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545628','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545637','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545646','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545655','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740018','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740027','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740036','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740045','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740054','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740063','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740072','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740081','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740090','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740108','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740117','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740126','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740135','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740144','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740153','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740162','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740171','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740180','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740199','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740207','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740216','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740225','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740234','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740243','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740252','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740261','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740270','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740289','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740298','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740306','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740315','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740324','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740333','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740342','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740351','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740360','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740379','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740388','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740397','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740405','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740414','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740423','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740432','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740441','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740450','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740469','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740478','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740487','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740496','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740504','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740513','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740522','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740531','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740540','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740559','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740568','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740577','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740586','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740595','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740603','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740612','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740621','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740630','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740649','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740658','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740667','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740676','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740685','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740694','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740702','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740711','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740720','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740739','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740748','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740757','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740766','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740775','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740784','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740793','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740801','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740810','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740829','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740838','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740847','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740856','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740865','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740874','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740883','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740892','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740900','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740919','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740928','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740937','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740946','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740955','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740964','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740973','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740982','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1740991','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741008','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741017','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741026','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741035','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741044','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741053','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741062','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741071','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741080','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741099','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741107','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741116','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741125','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741134','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741143','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741152','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741161','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741170','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741189','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741198','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741206','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741215','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741224','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741233','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741242','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741251','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741260','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741279','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741288','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741297','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741305','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741314','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741323','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741332','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741341','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741350','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741369','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741378','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741387','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741396','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741404','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741413','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741422','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741431','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741440','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741459','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741468','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741477','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741486','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741495','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741503','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741512','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741521','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741530','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741549','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741558','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741567','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741576','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741585','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741594','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741602','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741611','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741620','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741639','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741648','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741657','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741666','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741675','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741684','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741693','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741701','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741710','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741729','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741738','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741747','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741756','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741765','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741774','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741783','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741792','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741800','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741819','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741828','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741837','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741846','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741855','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741864','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741873','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741882','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741891','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741909','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741918','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741927','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741936','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741945','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741954','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741963','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741972','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741981','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1741990','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742007','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742016','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742025','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742034','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742043','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742052','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742061','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742070','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742089','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742098','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742106','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742115','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742124','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742133','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742142','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742151','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742160','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742179','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742188','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742197','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742205','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742214','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742223','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742232','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742241','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742250','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742269','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742278','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742287','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742296','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742304','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742313','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742322','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742331','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742340','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742359','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742368','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742377','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742386','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742395','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742403','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742412','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742421','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742430','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742449','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742458','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742467','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742476','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742485','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742494','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742502','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742511','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742520','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742539','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742548','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742557','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742566','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742575','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742584','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742593','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742601','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742610','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742629','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742638','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742647','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742656','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742665','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742674','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742683','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742692','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742700','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742719','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742728','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742737','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742746','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742755','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742764','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742773','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742782','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742791','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742809','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742818','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1742827','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744014','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744023','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744032','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744041','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744050','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744069','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744078','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744087','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744096','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744104','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744113','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744122','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744131','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744140','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744159','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744168','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744177','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744186','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744195','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744203','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744212','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744221','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744230','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744249','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744258','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744267','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744276','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744285','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744294','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744302','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744311','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744320','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744339','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744348','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744357','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744366','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744375','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744384','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744393','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744401','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744410','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744429','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744438','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744447','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744456','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744465','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744474','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744483','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744492','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744500','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744519','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744528','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744537','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744546','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744555','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744564','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744573','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744582','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744591','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744609','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744618','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744627','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744636','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744645','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744654','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744663','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744672','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744681','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744690','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744708','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744717','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744726','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744735','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744744','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744753','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744762','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744771','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744780','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744799','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744807','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744816','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744825','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744834','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744843','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744852','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744861','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744870','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744889','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744898','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744906','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744915','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744924','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744933','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744942','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744951','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744960','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744979','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744988','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1744997','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745004','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745013','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745022','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745031','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745040','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745059','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745068','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745077','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745086','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745095','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745103','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745112','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745121','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745130','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745149','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745158','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745167','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745176','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745185','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745194','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745202','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745211','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745220','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745239','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745248','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745257','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745266','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745275','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745284','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745293','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745301','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745310','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745329','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745338','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745347','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745356','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745365','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745374','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745383','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1745392','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747011','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747020','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747039','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747048','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747057','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747066','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747075','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747084','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747093','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747101','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747110','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747129','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747138','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747147','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747156','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747165','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747174','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747183','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747192','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747200','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747219','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747228','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747237','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747246','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747255','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747264','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747273','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747282','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747291','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747309','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747318','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747327','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747336','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747345','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747354','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747363','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747372','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747381','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747390','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747408','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747417','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747426','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747435','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747444','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747453','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747462','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747471','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747480','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747499','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747507','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747516','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747525','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747534','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747543','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747552','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747561','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747570','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747589','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747598','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747606','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747615','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747624','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747633','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747642','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747651','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747660','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747679','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747688','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747697','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747705','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747714','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747723','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747732','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747741','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747750','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747769','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747778','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747787','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747796','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747804','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747813','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747822','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747831','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747840','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747859','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747868','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747877','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747886','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747895','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747903','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747912','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747921','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747930','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747949','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747958','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747967','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747976','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747985','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1747994','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1748001','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1748010','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1748029','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1748038','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1748047','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1748056','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1748065','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1748074','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1748083','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1748092','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1748100','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1748119','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1748128','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1748137','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1748146','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1748155','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1748164','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1748173','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1748182','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1748191','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1748209','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1748218','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1748227','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2017,'g1748236','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545664','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545673','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545682','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545691','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545709','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545718','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545727','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545736','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545745','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545754','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545763','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545772','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545781','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545790','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545808','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545817','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545826','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545835','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545844','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545853','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545862','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545871','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545880','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545899','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545907','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545916','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545925','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545934','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545943','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545952','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545961','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545970','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545989','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1545998','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546005','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546014','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546023','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546032','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546041','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546050','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546069','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546078','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546087','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546096','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546104','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546113','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546122','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546131','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546140','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546159','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546168','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546177','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546186','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546195','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546203','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546212','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546221','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546230','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546249','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546258','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546267','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546276','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546285','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546294','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546302','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546311','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546320','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546339','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546348','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546357','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546366','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546375','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546384','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546393','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546401','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546410','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546429','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546438','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546447','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546456','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546465','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546474','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546483','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546492','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546500','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546519','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546528','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546537','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546546','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546555','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546564','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546573','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546582','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546591','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546609','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546618','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546627','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546636','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546645','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546654','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546663','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546672','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546681','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546690','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546708','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546717','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546726','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546735','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546744','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546753','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546762','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546771','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546780','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546799','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546807','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546816','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546825','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546834','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546843','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546852','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546861','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546870','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546889','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546898','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546906','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546915','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546924','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546933','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546942','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546951','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546960','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546979','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546988','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1546997','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547004','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547013','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547022','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547031','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547040','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547059','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547068','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547077','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547086','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547095','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547103','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547112','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547121','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547130','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547149','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547158','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547167','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547176','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547185','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547194','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547202','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547211','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547220','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547239','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547248','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547257','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547266','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547275','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547284','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547293','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547301','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547310','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547329','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547338','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547347','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547356','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547365','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547374','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547383','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547392','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547400','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547419','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547428','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547437','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547446','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547455','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547464','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547473','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547482','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547491','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547509','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547518','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547527','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547536','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547545','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547554','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547563','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547572','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547581','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547590','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547608','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547617','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547626','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547635','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547644','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547653','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547662','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547671','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547680','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547699','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547707','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547716','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547725','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547734','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547743','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547752','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547761','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547770','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547789','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547798','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547806','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547815','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547824','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547833','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547842','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547851','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547860','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547879','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547888','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547897','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547905','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547914','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547923','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2015,'g1547932','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2014,'g1445539','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2012,'g1245397','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2008,'g0847498','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2009,'g0947622','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2010,'g1045344','2017-04-09');
INSERT INTO estimated_cse_students VALUES(2011,'g1145505','2015-07-14');
|
-- MySQL dump 10.13 Distrib 8.0.16, for Win64 (x86_64)
--
-- Host: localhost Database: tcc
-- ------------------------------------------------------
-- Server version 8.0.16
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
SET NAMES utf8 ;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `movimento`
--
DROP TABLE IF EXISTS `movimento`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `movimento` (
`codigo` int(10) unsigned NOT NULL,
`nome` varchar(45) DEFAULT NULL,
`valor` float NOT NULL,
`data_vencimento` date DEFAULT NULL,
`data_pagamento` date DEFAULT NULL,
`codigo_forma_pagamento` int(11) NOT NULL,
`tipo` int(11) NOT NULL,
`codigo_categoria` int(11) NOT NULL,
`codigo_subcategoria` int(11) DEFAULT NULL,
`venda_codigo` int(11) DEFAULT NULL,
`compra_codigo` int(11) DEFAULT NULL,
PRIMARY KEY (`codigo`),
KEY `fk_receber_forma_pagamento_idx` (`codigo_forma_pagamento`),
KEY `fk_caixa_subcategoria_idx` (`codigo_subcategoria`),
KEY `fk_caixa_categoria_idx` (`codigo_categoria`),
KEY `fk_movimento_venda1_idx` (`venda_codigo`),
KEY `fk_movimento_compra1_idx` (`compra_codigo`),
CONSTRAINT `fk_movimento_categoria` FOREIGN KEY (`codigo_categoria`) REFERENCES `categoria` (`codigo`),
CONSTRAINT `fk_movimento_compra1` FOREIGN KEY (`compra_codigo`) REFERENCES `compra` (`codigo`),
CONSTRAINT `fk_movimento_forma_pagamento` FOREIGN KEY (`codigo_forma_pagamento`) REFERENCES `forma_pagamento` (`codigo`),
CONSTRAINT `fk_movimento_subcategoria` FOREIGN KEY (`codigo_subcategoria`) REFERENCES `subcategoria` (`codigo`),
CONSTRAINT `fk_movimento_venda1` FOREIGN KEY (`venda_codigo`) REFERENCES `venda` (`codigo`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `movimento`
--
LOCK TABLES `movimento` WRITE;
/*!40000 ALTER TABLE `movimento` DISABLE KEYS */;
/*!40000 ALTER TABLE `movimento` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2019-07-16 15:48:35
|
<gh_stars>0
-- phpMyAdmin SQL Dump
-- version 5.1.0
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Apr 08, 2021 at 07:03 AM
-- Server version: 10.4.18-MariaDB
-- PHP Version: 7.3.27
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `tubesbc`
--
DELIMITER $$
--
-- Procedures
--
CREATE DEFINER=`root`@`localhost` PROCEDURE `hapusData` () BEGIN
delete from pemesanan;
end$$
CREATE DEFINER=`root`@`localhost` PROCEDURE `hapusDataUser` () BEGIN
delete from user where is_active = 0;
end$$
CREATE DEFINER=`root`@`localhost` PROCEDURE `pPelangganSetia` (`idPelanggan` INT) BEGIN
declare hasil int DEFAULT 0;
declare info VARCHAR(250) DEFAULT "";
SELECT fBanyakOrderB(idPelanggan) into hasil;
if(hasil > 10)THEN
set info = "Pelanggan Setia";
elseif(hasil > 5)THEN
set info = "Pelanggan Biasa";
ELSE
set info = "Pelanggan Kurang Aktif";
end if;
SELECT info;
end$$
--
-- Functions
--
CREATE DEFINER=`root`@`localhost` FUNCTION `ambilBanyakOrder` (`tbl` VARCHAR(255), `idUser` INT) RETURNS INT(11) BEGIN
declare jml INTEGER DEFAULT 0;
select count(id_user)INTO jml from `tbl` where id_user = idUser;
return(jml);
end$$
CREATE DEFINER=`root`@`localhost` FUNCTION `fBanyakOrderB` (`idUser` INT) RETURNS INT(11) BEGIN
declare jml INTEGER DEFAULT 0;
DECLARE query VARCHAR(255) DEFAULT "";
select count(id_user)INTO jml from transaksi_beauty where id_user = idUser;
return(jml);
end$$
DELIMITER ;
-- --------------------------------------------------------
--
-- Table structure for table `notif_barangbaru`
--
CREATE TABLE `notif_barangbaru` (
`id_notifikasi` int(11) NOT NULL,
`id_barang` int(11) NOT NULL,
`id_pjasa` int(11) NOT NULL,
`nama_barang` varchar(250) NOT NULL,
`harga_barang` int(11) NOT NULL,
`desc_barang` varchar(250) NOT NULL,
`descmini_barang` varchar(250) NOT NULL,
`gambar_barang` varchar(250) NOT NULL,
`tipe_barang` varchar(250) NOT NULL,
`ket` varchar(250) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `notif_barangbaru`
--
INSERT INTO `notif_barangbaru` (`id_notifikasi`, `id_barang`, `id_pjasa`, `nama_barang`, `harga_barang`, `desc_barang`, `descmini_barang`, `gambar_barang`, `tipe_barang`, `ket`) VALUES
(1, 21, 6, 'PAKET FACIAL TREATMENT 6', 310000, 'Staf membawa peralatan dan product untuk layanan nails treatment. Layanan meliputi Pedicure dan Nail Art', 'Pedicure + Nail Art', 'nailTreatment.jpg', 'nails', 'Ada Yang Baru Dari Product Beauty'),
(2, 21, 5, 'PAKET KOST CLEANING 100', 150000, 'Staf membawa peralatan dan sabun untuk layanan pembersihan. Layanan meliputi Penyapuan ruangan, pengepelan ruangan,Mencuci Baju, Menyetrika Pakaian , Mencuci Piring , Pembersihan kaca, Menjemur baju, Pembersihan kamar mandi', 'Menyapu Ruangan + Mengepel Ruangan + Mencuci Baju + Setrika Pakaian + Mencuci Piring + Pembersihan Kamar Mandi + Pembersihan Kaca + Menjemur Baju ', 'kost1.jpg', 'kost', 'Ada Yang Baru Dari Product clean'),
(3, 22, 7, 'aaaaaaa', 2121212, 'qwdghq', 'asdsa', '5ea1bf9360cfd.jpeg', 'qddw', 'Ada Yang Baru Dari Product clean'),
(4, 23, 7, 'Paket 1', 21223, 'gfwh3g', 'asdsa', '5ea1bfecaac33.jpeg', 'home', 'Ada Yang Baru Dari Product clean'),
(5, 22, 7, 'Paket 1', 11332, 'sas', 'saa', '5ea5b56779396.png', 'home', 'Ada Yang Baru Dari Product clean'),
(6, 22, 6, 'Paket 1', 22443, 'apa wee', 'sapu + pel + setrika + vacum cleaner', '5ea689c58b49b.png', 'home', 'Ada Yang Baru Dari Product clean'),
(7, 23, 6, 'Paket 1', 2453253, 'apa wee', 'sapu + pel + setrika + vacum cleaner', '', 'home', 'Ada Yang Baru Dari Product clean'),
(8, 24, 4, 'paket uhuy', 10000, 'uhuy in aja kangen', 'uhuy', '', 'home', 'Ada Yang Baru Dari Product clean'),
(9, 25, 6, 'Paket 1', 3233, 'wdd', 'dsfsd', '', 'home', 'Ada Yang Baru Dari Product clean'),
(10, 26, 6, 'Paket 1', 3234, 'gfwh3g', 'sapu + pel + setrika + vacum cleaner', '', 'home', 'Ada Yang Baru Dari Product clean'),
(11, 27, 6, 'Paket 1', 2343, 'sas', 'asdsa', '', 'home', 'Ada Yang Baru Dari Product clean'),
(12, 28, 6, 'Paket 1', 23211, 'apa wee', 'sapu + pel + setrika + vacum cleaner', '5ea68f378c6d5.jpeg', 'home', 'Ada Yang Baru Dari Product clean'),
(13, 29, 6, 'Paket 1', 10000, 'kgn', 'kangen', '5ea68fad57f9f.jpg', 'home', 'Ada Yang Baru Dari Product clean'),
(14, 30, 6, 'Paket 1', 34534, 'apa wee', 'sdf', '', 'home', 'Ada Yang Baru Dari Product clean'),
(15, 31, 6, 'er', 23, 'sas', 'ss', '', 'home', 'Ada Yang Baru Dari Product clean'),
(16, 32, 6, 'Paket 1', 23, 'sqw', 'es', '', 'home', 'Ada Yang Baru Dari Product clean'),
(17, 33, 6, 'Paket 1', 345, 'apa wee', 'sapu + pel + setrika + vacum cleaner', '5ea692564cefe.jpeg', 'home', 'Ada Yang Baru Dari Product clean'),
(18, 34, 6, 'Paket 1', 44, 'fds', 'ef', '', 'home', 'Ada Yang Baru Dari Product clean'),
(19, 32, 6, 'Paket 1', 30909, 'hgc', 'vg', '', 'home', 'Ada Yang Baru Dari Product clean'),
(20, 33, 6, 'hsh', 124234, 'dbz', 'kgd', '', 'home', 'Ada Yang Baru Dari Product clean'),
(21, 34, 6, 'Paket 1', 324, 'gfwh3g', 'asdsa', '', 'home', 'Ada Yang Baru Dari Product clean'),
(22, 35, 6, 'Paket 1', 53, 'fdwet', 'eft', '', 'hair', 'Ada Yang Baru Dari Product clean'),
(23, 36, 6, 'Paket 1', 322, 'sd', 'ss', '5ea7253f256a8.jpeg', 'home', 'Ada Yang Baru Dari Product clean'),
(24, 37, 6, 'Paket 111', 325, 'faSC', 'fw', '5ea7256d0cbc5.png', 'home', 'Ada Yang Baru Dari Product clean'),
(25, 38, 6, 'Paket 12', 214, 'sca', 'sa', '', 'hair', 'Ada Yang Baru Dari Product clean'),
(26, 38, 6, 'Paket 11111', 2112, 'qwwqd', 'qw', '', 'home', 'Ada Yang Baru Dari Product clean'),
(27, 39, 6, 'Paket 1', 423, 'efa', 'ss', '', 'home', 'Ada Yang Baru Dari Product clean'),
(28, 40, 6, '32qw', 3223, 'cw', 'dw', '', 'home', 'Ada Yang Baru Dari Product clean'),
(29, 41, 6, 'Paket 1', 323, 'efaec', 'eaf', '', 'home', 'Ada Yang Baru Dari Product clean'),
(30, 22, 6, 'Paket 1', 2434, 'dsfs', 'asdsa', '', 'home', 'Ada Yang Baru Dari Product clean'),
(31, 23, 6, 'Paket 1', 56456, 'tu', 'asdsa', '', 'hair', 'Ada Yang Baru Dari Product clean'),
(32, 24, 6, 'dian', 212, 'apa wee', 'asdsa', '5ea8f4f110fa3.jpeg', 'home', 'Ada Yang Baru Dari Product clean'),
(33, 1, 8, 'Masker muka enak banget', 200000, 'adds', 'aadsa', '606db0e605eb9.png', 'adsasda', 'Ada Yang Baru Dari Product clean'),
(34, 2, 12, 'adas', 123121, 'assad', 'asds', '606dc539c822d.jpeg', 'asdasdas', 'Ada Yang Baru Dari Product clean'),
(35, 1, 12, 'asdas', 20000, 'adsa', 'asdas', '', 'asdsadas', 'Ada Yang Baru Dari Product Beauty'),
(36, 2, 12, 'jasa beauty', 2000, 'dasa', 'assa', '', 'aasdsadsa', 'Ada Yang Baru Dari Product Beauty'),
(37, 3, 12, 'asdas', 20000, 'asdsa', 'asdas', '', '1321312', 'Ada Yang Baru Dari Product Beauty'),
(38, 4, 12, 'asdsa', 20000, 'asdsa', 'asdas', '606dc75ac4e53.jpeg', 'asdsad', 'Ada Yang Baru Dari Product Beauty'),
(39, 5, 12, 'Beauty Banget', 20000, 'asdsa', 'adas', '606dc7a35e85a.jpg', 'asdsasa', 'Ada Yang Baru Dari Product Beauty'),
(40, 6, 12, 'Beauty Banget', 20000, 'haha', 'haha', '606dcd9b8ed48.png', 'haha', 'Ada Yang Baru Dari Product Beauty');
-- --------------------------------------------------------
--
-- Table structure for table `productbeauty`
--
CREATE TABLE `productbeauty` (
`id_beauty` int(5) NOT NULL,
`id_pjasa` int(11) NOT NULL,
`nama_beauty` varchar(30) NOT NULL,
`harga_beauty` int(15) NOT NULL,
`desc_beauty` varchar(255) NOT NULL,
`descmini_beauty` varchar(155) NOT NULL,
`gambar_beauty` varchar(255) NOT NULL,
`tipe_product` varchar(15) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `productbeauty`
--
INSERT INTO `productbeauty` (`id_beauty`, `id_pjasa`, `nama_beauty`, `harga_beauty`, `desc_beauty`, `descmini_beauty`, `gambar_beauty`, `tipe_product`) VALUES
(6, 12, 'Beauty Banget', 20000, 'haha', 'haha', '606dcd9b8ed48.png', 'haha');
--
-- Triggers `productbeauty`
--
DELIMITER $$
CREATE TRIGGER `after_beauty_insert` AFTER INSERT ON `productbeauty` FOR EACH ROW BEGIN
INSERT INTO notif_barangbaru
SET id_barang = new.id_beauty,
id_pjasa = new.id_pjasa,
nama_barang = new.nama_beauty,
harga_barang = new.harga_beauty,
desc_barang = new.desc_beauty,
descmini_barang = new.descmini_beauty,
gambar_barang = new.gambar_beauty,
tipe_barang = new.tipe_product,
ket = "Ada Yang Baru Dari Product Beauty";
END
$$
DELIMITER ;
-- --------------------------------------------------------
--
-- Table structure for table `productclean`
--
CREATE TABLE `productclean` (
`id_clean` int(5) NOT NULL,
`id_pjasa` int(11) NOT NULL,
`nama_clean` varchar(30) NOT NULL,
`harga_clean` int(15) NOT NULL,
`desc_clean` varchar(255) NOT NULL,
`descmini_clean` varchar(155) NOT NULL,
`gambar_clean` varchar(255) NOT NULL,
`tipe_product` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `productclean`
--
INSERT INTO `productclean` (`id_clean`, `id_pjasa`, `nama_clean`, `harga_clean`, `desc_clean`, `descmini_clean`, `gambar_clean`, `tipe_product`) VALUES
(1, 8, 'Masker muka enak banget', 200000, 'asdasdas', 'aadsa', '606db0e605eb9.png', 'kost');
--
-- Triggers `productclean`
--
DELIMITER $$
CREATE TRIGGER `after_clean_insert` AFTER INSERT ON `productclean` FOR EACH ROW BEGIN
INSERT INTO notif_barangbaru
SET id_barang = new.id_clean,
id_pjasa = new.id_pjasa,
nama_barang = new.nama_clean,
harga_barang = new.harga_clean,
desc_barang = new.desc_clean,
descmini_barang = new.descmini_clean,
gambar_barang = new.gambar_clean,
tipe_barang = new.tipe_product,
ket = "Ada Yang Baru Dari Product clean";
END
$$
DELIMITER ;
-- --------------------------------------------------------
--
-- Table structure for table `transaksi_beauty`
--
CREATE TABLE `transaksi_beauty` (
`id_orderbeauty` int(5) NOT NULL,
`id_beauty` int(5) NOT NULL,
`id_user` int(5) NOT NULL,
`namapengorder` varchar(255) NOT NULL,
`alamat_pengorder` varchar(255) NOT NULL,
`nomor_pengorder` varchar(255) NOT NULL,
`jumlah` int(11) NOT NULL,
`total_harga` int(12) NOT NULL,
`rating` double NOT NULL,
`status` int(250) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `transaksi_clean`
--
CREATE TABLE `transaksi_clean` (
`id_orderclean` int(11) NOT NULL,
`id_clean` int(5) NOT NULL,
`id_user` int(5) NOT NULL,
`namapengorder` varchar(255) NOT NULL,
`alamat_pengorder` varchar(255) NOT NULL,
`nomor_pengorder` varchar(255) NOT NULL,
`jumlah` int(11) NOT NULL,
`total_harga` int(12) NOT NULL,
`rating` double NOT NULL,
`status` int(12) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `transaksi_clean`
--
INSERT INTO `transaksi_clean` (`id_orderclean`, `id_clean`, `id_user`, `namapengorder`, `alamat_pengorder`, `nomor_pengorder`, `jumlah`, `total_harga`, `rating`, `status`) VALUES
(3, 1, 11, 'asd', 'aasdsa', '12321312321', 1, 200000, 4.5, 1),
(4, 1, 11, 'asd', 'aasdsa', '12321312321', 1, 200000, 5, 1);
-- --------------------------------------------------------
--
-- Table structure for table `user`
--
CREATE TABLE `user` (
`Tanggal` date NOT NULL DEFAULT current_timestamp(),
`id` int(11) NOT NULL,
`nama` varchar(255) NOT NULL,
`username` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`password` varchar(255) NOT NULL,
`image` varchar(255) NOT NULL,
`role_id` varchar(20) DEFAULT NULL,
`is_active` int(11) NOT NULL,
`alamat` varchar(255) NOT NULL,
`phone_number` varchar(15) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `user`
--
INSERT INTO `user` (`Tanggal`, `id`, `nama`, `username`, `email`, `password`, `image`, `role_id`, `is_active`, `alamat`, `phone_number`) VALUES
('0000-00-00', 7, 'admin', 'admin', '<EMAIL>', <PASSWORD>', 'default.png', 'admin', 1, 'bandung', '0872123435'),
('2021-04-06', 8, 'Clean n Care', 'pencari', '<EMAIL>', <PASSWORD>OJH4Bwn/mhtSzNVtO9BBVdmWronKZoXSc0edmuOyUrT.YrYG', 'default.png', 'Clean', 1, 'Taman Sari Persada, Cluster Lotus B4/12A', '081386397855'),
('2021-04-06', 11, 'asd', 'aaa', '<EMAIL>', <PASSWORD>', 'default.png', 'Konsumen', 1, 'aasdsa', '12321312321'),
('2021-04-07', 12, 'Klinik Beauty Care Mas Gondrong', 'beauty_masgon', '<EMAIL>', <PASSWORD>', 'default.png', 'Beauty', 1, 'Bandung', '<EMAIL>');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `notif_barangbaru`
--
ALTER TABLE `notif_barangbaru`
ADD PRIMARY KEY (`id_notifikasi`);
--
-- Indexes for table `productbeauty`
--
ALTER TABLE `productbeauty`
ADD PRIMARY KEY (`id_beauty`),
ADD KEY `id_pjasa` (`id_pjasa`);
--
-- Indexes for table `productclean`
--
ALTER TABLE `productclean`
ADD PRIMARY KEY (`id_clean`);
--
-- Indexes for table `transaksi_beauty`
--
ALTER TABLE `transaksi_beauty`
ADD PRIMARY KEY (`id_orderbeauty`);
--
-- Indexes for table `transaksi_clean`
--
ALTER TABLE `transaksi_clean`
ADD PRIMARY KEY (`id_orderclean`);
--
-- Indexes for table `user`
--
ALTER TABLE `user`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `notif_barangbaru`
--
ALTER TABLE `notif_barangbaru`
MODIFY `id_notifikasi` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=41;
--
-- AUTO_INCREMENT for table `productbeauty`
--
ALTER TABLE `productbeauty`
MODIFY `id_beauty` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `productclean`
--
ALTER TABLE `productclean`
MODIFY `id_clean` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `transaksi_beauty`
--
ALTER TABLE `transaksi_beauty`
MODIFY `id_orderbeauty` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `transaksi_clean`
--
ALTER TABLE `transaksi_clean`
MODIFY `id_orderclean` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `user`
--
ALTER TABLE `user`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
DELIMITER $$
--
-- Events
--
CREATE DEFINER=`root`@`localhost` EVENT `event_delete_user` ON SCHEDULE EVERY 12 MONTH STARTS '2020-04-15 21:48:45' ON COMPLETION NOT PRESERVE ENABLE DO CALL
`nonActiveDataUser`()$$
DELIMITER ;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
<reponame>EL-BID/nexso
CREATE PROCEDURE dbo.[dnn_EasyDNNGalleryListByGroupID]
@PortalID int,
@ModuleID int,
@GalleryID int,
@RoleID int,
@CurrentUserID int,
@GroupId int = 1,
@ItemsFrom int = 1,
@ItemsTo int = 500,
@OrderBy nvarchar(20) = 'Position ASC',
@MediaType nvarchar(40) = 'Image,Video,Embeded Video,Audio,'
AS
SET NOCOUNT ON;
WITH tempEGP AS (
SELECT Distinct egp.[PictureID],egp.[PortalID],egp.[UserID],egp.[GalleryID],egp.[Title],egp.[Description],egp.[FileName],egp.[ThumbUrl],egp.[Position],egp.[MediaType],egp.[ShortEmbedUrl]
,egp.[ViewerThumb],egp.[Info],egp.[FileExtension],egp.[ImageUrl],egp.[DateUploaded],egp.[StartupImage],egp.[HiResVersion],egp.[JournalId],egp.[RatingValue], egur.Value
FROM dbo.dnn_EasyGalleryPictures AS egp INNER JOIN dbo.dnn_EasyGallery as eg ON eg.GalleryID= egp.GalleryID
INNER JOIN dbo.dnn_EasyGalleryCategory AS egc ON eg.CategoryID = egc.CategoryID
INNER JOIN dbo.dnn_EasyGalleryModuleCategory AS egmc ON egc.CategoryID = egmc.CategoryID
LEFT OUTER JOIN dbo.dnn_EasyGallerySecurity AS egs on egs.GalleryID = eg.GalleryID
INNER JOIN dbo.dnn_Journal_User_Permissions(@PortalId,@CurrentUserId, @GroupId) as t ON t.seckey = egs.SecurityKey OR egs.SecurityKey IS NULL
INNER JOIN dbo.dnn_EasyGallerySocialGroups ON eg.GalleryID = dbo.dnn_EasyGallerySocialGroups.GalleryID INNER JOIN dbo.dnn_Roles AS r ON dbo.dnn_EasyGallerySocialGroups.RoleID = r.RoleID
left join dbo.dnn_EasyGalleryUserRating as egur on egp.PictureID= egur.PictureID AND egur.UserID=@CurrentUserID
WHERE egmc.ModuleID= @ModuleID AND egp.JournalID IS NULL AND ((@GalleryID <> 0 AND (egp.GalleryID=@GalleryID)) OR (@GalleryID = 0)) AND r.RoleID=@RoleID AND (egp.MediaApproved = 'True' OR egp.MediaApproved IS NULL) AND egp.MediaType In (Select ParsedString From dbo.dnn_EDSGallery_ParseStringList(@MediaType))
UNION ALL
SELECT Distinct egp.[PictureID],egp.[PortalID],egp.[UserID],egp.[GalleryID],egp.[Title],egp.[Description],egp.[FileName],egp.[ThumbUrl],egp.[Position],egp.[MediaType],egp.[ShortEmbedUrl]
,egp.[ViewerThumb],egp.[Info],egp.[FileExtension],egp.[ImageUrl],egp.[DateUploaded],egp.[StartupImage],egp.[HiResVersion],egp.[JournalId],egp.[RatingValue],egur.Value
FROM dbo.dnn_EasyGalleryPictures AS egp INNER JOIN dbo.dnn_Journal_Security as js ON js.JournalId = egp.JournalId
INNER JOIN dbo.dnn_EasyGallery as eg ON eg.GalleryID= egp.GalleryID
INNER JOIN dbo.dnn_EasyGalleryCategory AS egc ON eg.CategoryID = egc.CategoryID
INNER JOIN dbo.dnn_EasyGalleryModuleCategory AS egmc ON egc.CategoryID = egmc.CategoryID
INNER JOIN dbo.dnn_Journal_User_Permissions(@PortalId,@CurrentUserId, @GroupId) as t ON t.seckey = js.SecurityKey
INNER JOIN dbo.dnn_EasyGallerySocialGroups ON eg.GalleryID = dbo.dnn_EasyGallerySocialGroups.GalleryID INNER JOIN dbo.dnn_Roles AS r ON dbo.dnn_EasyGallerySocialGroups.RoleID = r.RoleID
left join dbo.dnn_EasyGalleryUserRating as egur on egp.PictureID= egur.PictureID AND egur.UserID=@CurrentUserID
WHERE egmc.ModuleID= @ModuleID AND egp.JournalID IS NOT NULL AND ((@GalleryID <> 0 AND (egp.GalleryID=@GalleryID)) OR (@GalleryID = 0)) AND r.RoleID=@RoleID AND (egp.MediaApproved = 'True' OR egp.MediaApproved IS NULL) AND egp.MediaType In (Select ParsedString From dbo.dnn_EDSGallery_ParseStringList(@MediaType))
),
tempct AS (SELECT gct.PictureID, gct.ThumbCreated From dbo.dnn_EasyGalleryCreatedThumbs gct Where gct.ModuleID = @ModuleID)
SELECT * FROM (SELECT Distinct tempEGP.*,tempct.ThumbCreated, ROW_NUMBER() OVER (ORDER BY
CASE WHEN @OrderBy ='Position ASC' THEN Position END,
CASE WHEN @OrderBy ='Position DESC' THEN Position END DESC,
CASE WHEN @OrderBy ='DateUploaded ASC' THEN DateUploaded END,
CASE WHEN @OrderBy ='DateUploaded DESC' THEN DateUploaded END DESC,
CASE WHEN @OrderBy ='FileName ASC' THEN FileName END,
CASE WHEN @OrderBy ='FileName DESC' THEN FileName END DESC,
CASE WHEN @OrderBy ='Title ASC' THEN Title END,
CASE WHEN @OrderBy ='Title DESC' THEN Title END DESC) as Kulike
FROM tempEGP left join tempct on tempEGP.PictureID = tempct.PictureID) AS Result
WHERE Kulike BETWEEN @ItemsFrom AND @ItemsTo ORDER BY
CASE WHEN @OrderBy ='Position ASC' THEN Position END,
CASE WHEN @OrderBy ='Position DESC' THEN Position END DESC,
CASE WHEN @OrderBy ='DateUploaded ASC' THEN DateUploaded END,
CASE WHEN @OrderBy ='DateUploaded DESC' THEN DateUploaded END DESC,
CASE WHEN @OrderBy ='FileName ASC' THEN FileName END,
CASE WHEN @OrderBy ='FileName DESC' THEN FileName END DESC,
CASE WHEN @OrderBy ='Title ASC' THEN Title END,
CASE WHEN @OrderBy ='Title DESC' THEN Title END DESC |
<reponame>intervalue/intervaluecore<gh_stars>10-100
CREATE TABLE units (
unit CHAR(44) BINARY NOT NULL PRIMARY KEY, -- sha256 in base64
creation_date timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
version VARCHAR(10) NOT NULL DEFAULT '1.0',
alt VARCHAR(3) NOT NULL DEFAULT '1',
witness_list_unit CHAR(44) BINARY NULL,
last_ball_unit CHAR(44) BINARY NULL,
content_hash CHAR(44) NULL,
headers_commission INT NOT NULL,
payload_commission INT NOT NULL,
is_free TINYINT NOT NULL DEFAULT 1,
is_on_main_chain TINYINT NOT NULL DEFAULT 0,
main_chain_index INT NULL, -- when it first appears
latest_included_mc_index INT NULL, -- latest MC ball that is included in this ball (excluding itself)
level INT NULL,
witnessed_level INT NULL,
is_stable TINYINT NOT NULL DEFAULT 0,
sequence ENUM('good','temp-bad','final-bad') NOT NULL DEFAULT 'good',
best_parent_unit CHAR(44) BINARY NULL,
KEY byMainChain(is_on_main_chain),
KEY byMcIndex(main_chain_index),
KEY byLimci(latest_included_mc_index),
KEY byLevel(level),
KEY byFree(is_free),
KEY byStableMci(is_stable, main_chain_index),
KEY byDate(creation_date),
CONSTRAINT unitsByLastBallUnit FOREIGN KEY byLastBallUnit(last_ball_unit) REFERENCES units(unit),
FOREIGN KEY byBestParentUnit(best_parent_unit) REFERENCES units(unit),
CONSTRAINT unitsByWitnessListUnit FOREIGN KEY byWitnessList(witness_list_unit) REFERENCES units(unit)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE balls (
ball CHAR(44) BINARY NOT NULL PRIMARY KEY, -- sha256 in base64
creation_date timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
unit CHAR(44) BINARY NOT NULL UNIQUE, -- sha256 in base64
-- count_witnesses TINYINT NOT NULL DEFAULT 0,
count_paid_witnesses TINYINT NULL,
KEY byCountPaidWitnesses(count_paid_witnesses),
FOREIGN KEY byUnit(unit) REFERENCES units(unit)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE skiplist_units (
unit CHAR(44) BINARY NOT NULL,
skiplist_unit CHAR(44) BINARY NOT NULL, -- only for MC units with MCI divisible by 10: previous MC units divisible by 10
PRIMARY KEY (unit, skiplist_unit),
FOREIGN KEY byUnit(unit) REFERENCES units(unit),
FOREIGN KEY bySkiplistUnit(skiplist_unit) REFERENCES units(unit)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- must be sorted by parent_unit
CREATE TABLE parenthoods (
child_unit CHAR(44) BINARY NOT NULL,
parent_unit CHAR(44) BINARY NOT NULL,
PRIMARY KEY (parent_unit, child_unit),
CONSTRAINT parenthoodsByChild FOREIGN KEY byChildUnit(child_unit) REFERENCES units(unit),
CONSTRAINT parenthoodsByParent FOREIGN KEY byParentUnit(parent_unit) REFERENCES units(unit)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE definitions (
definition_chash CHAR(32) NOT NULL PRIMARY KEY,
definition TEXT NOT NULL,
has_references TINYINT NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- current list of all known from-addresses
CREATE TABLE addresses (
address CHAR(32) NOT NULL PRIMARY KEY,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- must be sorted by address
CREATE TABLE unit_authors (
unit CHAR(44) BINARY NOT NULL,
address CHAR(32) NOT NULL,
definition_chash CHAR(32) NULL, -- only with 1st ball from this address, and with next ball after definition change
_mci INT NULL,
PRIMARY KEY (unit, address),
FOREIGN KEY byUnit(unit) REFERENCES units(unit),
CONSTRAINT unitAuthorsByAddress FOREIGN KEY byAddress(address) REFERENCES addresses(address),
KEY unitAuthorsIndexByAddressDefinitionChash (address, definition_chash),
KEY unitAuthorsIndexByAddressMci (address, _mci),
FOREIGN KEY byDefinition(definition_chash) REFERENCES definitions(definition_chash)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE authentifiers (
unit CHAR(44) BINARY NOT NULL,
address CHAR(32) NOT NULL,
path VARCHAR(40) NOT NULL,
authentifier VARCHAR(4096) NOT NULL,
PRIMARY KEY (unit, address, path),
FOREIGN KEY byUnit(unit) REFERENCES units(unit),
CONSTRAINT authentifiersByAddress FOREIGN KEY byAddress(address) REFERENCES addresses(address)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- must be sorted by address
CREATE TABLE unit_witnesses (
unit CHAR(44) BINARY NOT NULL,
address VARCHAR(32) NOT NULL,
PRIMARY KEY (unit, address),
KEY byAddress(address), -- no foreign key as the address might not be used yet
FOREIGN KEY byUnit(unit) REFERENCES units(unit)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE witness_list_hashes (
witness_list_unit CHAR(44) BINARY NOT NULL PRIMARY KEY,
witness_list_hash CHAR(44) NOT NULL UNIQUE,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
FOREIGN KEY byUnit(witness_list_unit) REFERENCES units(unit)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- if this ball wins headers commission from at least one of the included balls, how it is distributed
-- required if more than one author
-- if one author, all commission goes to the author by default
CREATE TABLE earned_headers_commission_recipients (
unit CHAR(44) BINARY NOT NULL,
address VARCHAR(32) NOT NULL,
earned_headers_commission_share INT NOT NULL, -- percentage
PRIMARY KEY (unit, address),
KEY byAddress(address), -- no foreign key as the address might not be used yet
FOREIGN KEY byUnit(unit) REFERENCES units(unit)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE messages (
unit CHAR(44) BINARY NOT NULL,
message_index TINYINT NOT NULL,
app VARCHAR(30) NOT NULL,
payload_location ENUM('inline','uri','none') NOT NULL,
payload_hash VARCHAR(44) NOT NULL,
payload TEXT NULL,
payload_uri_hash VARCHAR(44) NULL,
payload_uri VARCHAR(500) NULL,
PRIMARY KEY (unit, message_index),
FOREIGN KEY byUnit(unit) REFERENCES units(unit)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- must be sorted by spend_proof
CREATE TABLE spend_proofs (
unit CHAR(44) BINARY NOT NULL,
message_index TINYINT NOT NULL,
spend_proof_index TINYINT NOT NULL,
spend_proof CHAR(44) NOT NULL,
address CHAR(32) NOT NULL,
PRIMARY KEY (unit, message_index, spend_proof_index),
UNIQUE KEY bySpendProof(spend_proof, unit),
FOREIGN KEY byUnit(unit) REFERENCES units(unit),
CONSTRAINT spendProofsByAddress FOREIGN KEY byAddress(address) REFERENCES addresses(address)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- -------------------------
-- Specific message types
CREATE TABLE address_definition_changes (
unit CHAR(44) BINARY NOT NULL,
message_index TINYINT NOT NULL,
address CHAR(32) NOT NULL,
definition_chash VARCHAR(32) NOT NULL, -- might not be defined in definitions yet (almost always, it is not defined)
PRIMARY KEY (unit, message_index),
UNIQUE KEY byAddressUnit(address, unit),
FOREIGN KEY byUnit(unit) REFERENCES units(unit),
CONSTRAINT addressDefinitionChangesByAddress FOREIGN KEY byAddress(address) REFERENCES addresses(address)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE data_feeds (
unit CHAR(44) BINARY NOT NULL,
message_index TINYINT NOT NULL,
feed_name VARCHAR(64) BINARY NOT NULL,
-- type ENUM('string', 'number') NOT NULL,
`value` VARCHAR(64) BINARY NULL,
`int_value` BIGINT NULL,
PRIMARY KEY (unit, feed_name),
KEY byNameStringValue(feed_name, `value`),
KEY byNameIntValue(feed_name, `int_value`),
FOREIGN KEY byUnit(unit) REFERENCES units(unit)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE polls (
unit CHAR(44) BINARY NOT NULL PRIMARY KEY,
message_index TINYINT NOT NULL,
question VARCHAR(4096) NOT NULL,
FOREIGN KEY byUnit(unit) REFERENCES units(unit)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE poll_choices (
unit CHAR(44) BINARY NOT NULL,
choice_index TINYINT NOT NULL,
choice VARCHAR(32) BINARY NOT NULL,
PRIMARY KEY (unit, choice_index),
UNIQUE KEY (unit, choice),
FOREIGN KEY byPoll(unit) REFERENCES polls(unit)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE votes (
unit CHAR(44) BINARY NOT NULL,
message_index TINYINT NOT NULL,
poll_unit CHAR(44) BINARY NOT NULL,
choice VARCHAR(32) BINARY NOT NULL,
PRIMARY KEY (unit, message_index),
UNIQUE KEY (unit, choice),
CONSTRAINT votesByChoice FOREIGN KEY byChoice(poll_unit, choice) REFERENCES poll_choices(unit, choice),
FOREIGN KEY byUnit(unit) REFERENCES units(unit)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE attestations (
unit CHAR(44) BINARY NOT NULL,
message_index TINYINT NOT NULL,
attestor_address VARCHAR(32) NOT NULL,
address VARCHAR(32) NOT NULL,
-- name VARCHAR(44) NOT NULL,
PRIMARY KEY (unit, message_index),
KEY byAddress(address),
CONSTRAINT attestationsByAttestorAddress FOREIGN KEY byAttestorAddress(attestor_address) REFERENCES addresses(address),
FOREIGN KEY byUnit(unit) REFERENCES units(unit)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE assets (
unit CHAR(44) BINARY NOT NULL PRIMARY KEY,
message_index TINYINT NOT NULL,
cap BIGINT NULL,
is_private TINYINT NOT NULL,
is_transferrable TINYINT NOT NULL,
auto_destroy TINYINT NOT NULL,
fixed_denominations TINYINT NOT NULL,
issued_by_definer_only TINYINT NOT NULL,
cosigned_by_definer TINYINT NOT NULL,
spender_attested TINYINT NOT NULL, -- must subsequently publish and update the list of trusted attestors
issue_condition TEXT NULL,
transfer_condition TEXT NULL,
FOREIGN KEY byUnit(unit) REFERENCES units(unit)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE asset_denominations (
asset CHAR(44) BINARY NOT NULL,
denomination INT NOT NULL,
count_coins BIGINT NULL,
max_issued_serial_number BIGINT NOT NULL DEFAULT 0,
PRIMARY KEY (asset, denomination),
FOREIGN KEY byAsset(asset) REFERENCES assets(unit)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE asset_attestors (
unit CHAR(44) BINARY NOT NULL,
message_index TINYINT NOT NULL,
asset CHAR(44) BINARY NOT NULL, -- in the initial attestor list: same as unit
attestor_address CHAR(32) NOT NULL,
PRIMARY KEY (unit, message_index),
UNIQUE KEY byAssetAttestorUnit(asset, attestor_address, unit),
FOREIGN KEY byUnit(unit) REFERENCES units(unit),
CONSTRAINT assetAttestorsByAsset FOREIGN KEY byAsset(asset) REFERENCES assets(unit)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- -------------------------
-- Payments
CREATE TABLE inputs (
unit CHAR(44) BINARY NOT NULL,
message_index TINYINT NOT NULL,
input_index TINYINT NOT NULL,
asset CHAR(44) BINARY NULL,
denomination INT NOT NULL DEFAULT 1,
is_unique TINYINT NULL DEFAULT 1,
type ENUM('transfer','headers_commission','witnessing','issue') NOT NULL,
src_unit CHAR(44) BINARY NULL, -- transfer
src_message_index TINYINT NULL, -- transfer
src_output_index TINYINT NULL, -- transfer
from_main_chain_index INT NULL, -- witnessing/hc
to_main_chain_index INT NULL, -- witnessing/hc
serial_number BIGINT NULL, -- issue
amount BIGINT NULL, -- issue
address CHAR(32) NOT NULL,
PRIMARY KEY (unit, message_index, input_index),
UNIQUE KEY bySrcOutput(src_unit, src_message_index, src_output_index, is_unique), -- UNIQUE guarantees there'll be no double spend for type=transfer
UNIQUE KEY byIndexAddress(type, from_main_chain_index, address, is_unique), -- UNIQUE guarantees there'll be no double spend for type=hc/witnessing
UNIQUE KEY byAssetDenominationSerialAddress(asset, denomination, serial_number, address, is_unique), -- UNIQUE guarantees there'll be no double issue
KEY byAssetType(asset, type),
KEY byAddressTypeToMci(address, type, to_main_chain_index),
FOREIGN KEY byUnit(unit) REFERENCES units(unit),
CONSTRAINT inputsBySrcUnit FOREIGN KEY bySrcUnit(src_unit) REFERENCES units(unit),
CONSTRAINT inputsByAddress FOREIGN KEY byAddress(address) REFERENCES addresses(address),
CONSTRAINT inputsByAsset FOREIGN KEY byAsset(asset) REFERENCES assets(unit)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE outputs (
output_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
unit CHAR(44) BINARY NOT NULL,
message_index TINYINT NOT NULL,
output_index TINYINT NOT NULL,
asset CHAR(44) BINARY NULL,
denomination INT NOT NULL DEFAULT 1,
address VARCHAR(32) NULL, -- NULL if hidden by output_hash
amount BIGINT NOT NULL,
blinding CHAR(16) NULL,
output_hash CHAR(44) NULL,
is_serial TINYINT NULL, -- NULL if not stable yet
is_spent TINYINT NOT NULL DEFAULT 0,
UNIQUE KEY (unit, message_index, output_index),
KEY byAddressSpent(address, is_spent),
KEY bySerial(is_serial),
FOREIGN KEY byUnit(unit) REFERENCES units(unit),
CONSTRAINT outputsByAsset FOREIGN KEY byAsset(asset) REFERENCES assets(unit)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- ------------
-- Commissions
-- updated immediately after main chain is updated
CREATE TABLE headers_commission_contributions (
unit CHAR(44) BINARY NOT NULL, -- parent unit that pays commission
address CHAR(32) NOT NULL, -- address of the commission receiver: author of child unit or address named in earned_headers_commission_recipients
amount BIGINT NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (unit, address),
KEY byAddress(address),
FOREIGN KEY byUnit(unit) REFERENCES units(unit)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE headers_commission_outputs (
main_chain_index INT NOT NULL,
address CHAR(32) NOT NULL, -- address of the commission receiver
amount BIGINT NOT NULL,
is_spent TINYINT NOT NULL DEFAULT 0,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (main_chain_index, address),
UNIQUE (address, main_chain_index),
UNIQUE (address, is_spent, main_chain_index)
-- KEY byAddressSpent(address, is_spent)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE paid_witness_events (
unit CHAR(44) BINARY NOT NULL,
address CHAR(32) NOT NULL, -- witness address
-- witnessed_in_ball CHAR(44) NOT NULL, -- if expired, MC ball next after expiry. Or NULL?
delay TINYINT NULL, -- NULL if expired
PRIMARY KEY (unit, address),
FOREIGN KEY byUnit(unit) REFERENCES units(unit),
FOREIGN KEY byWitnessAddress(address) REFERENCES addresses(address)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE witnessing_outputs (
main_chain_index INT NOT NULL,
address CHAR(32) NOT NULL,
amount BIGINT NOT NULL,
is_spent TINYINT NOT NULL DEFAULT 0,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (main_chain_index, address),
UNIQUE (address, main_chain_index),
UNIQUE (address, is_spent, main_chain_index),
-- KEY byWitnessAddressSpent(address, is_spent),
FOREIGN KEY byWitnessAddress(address) REFERENCES addresses(address)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- ---------------------------------------
-- Networking
CREATE TABLE dependencies (
unit CHAR(44) BINARY NOT NULL,
depends_on_unit CHAR(44) BINARY NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
UNIQUE KEY (depends_on_unit, unit),
KEY byUnit(unit)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE unhandled_joints (
unit CHAR(44) BINARY NOT NULL PRIMARY KEY,
peer VARCHAR(100) NOT NULL,
json LONGTEXT NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE archived_joints (
unit CHAR(44) BINARY NOT NULL PRIMARY KEY,
reason ENUM('uncovered', 'voided') NOT NULL,
-- is_retrievable TINYINT NOT NULL,
json LONGTEXT NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE known_bad_joints (
joint CHAR(44) BINARY NULL UNIQUE,
unit CHAR(44) BINARY NULL UNIQUE,
json LONGTEXT NOT NULL,
error TEXT NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE joints (
unit CHAR(44) BINARY NOT NULL PRIMARY KEY,
json LONGTEXT NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE unhandled_private_payments (
unit CHAR(44) BINARY NOT NULL,
message_index TINYINT NOT NULL,
output_index TINYINT NOT NULL,
json LONGTEXT NOT NULL,
peer VARCHAR(100) NOT NULL,
linked TINYINT NOT NULL DEFAULT 0,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (unit, message_index, output_index)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- ------------------
-- Catching up
CREATE TABLE hash_tree_balls (
ball_index INT NOT NULL PRIMARY KEY AUTO_INCREMENT, -- in increasing level order
ball CHAR(44) BINARY NOT NULL UNIQUE,
unit CHAR(44) BINARY NOT NULL UNIQUE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE catchup_chain_balls (
member_index INT NOT NULL PRIMARY KEY AUTO_INCREMENT, -- in increasing level order
ball CHAR(44) BINARY NOT NULL UNIQUE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- ------------------------
-- Peers
CREATE TABLE peer_hosts (
peer_host VARCHAR(100) NOT NULL PRIMARY KEY, -- domain or IP
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
count_new_good_joints INT NOT NULL DEFAULT 0,
count_invalid_joints INT NOT NULL DEFAULT 0,
count_nonserial_joints INT NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE peers (
peer VARCHAR(100) NOT NULL PRIMARY KEY, -- wss:// address
peer_host VARCHAR(100) NOT NULL, -- domain or IP
learnt_from_peer_host VARCHAR(100) NULL, -- domain or IP
is_self TINYINT NOT NULL DEFAULT 0,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
FOREIGN KEY byLearntFromPeerHost(learnt_from_peer_host) REFERENCES peer_hosts(peer_host),
FOREIGN KEY byPeerHost(peer_host) REFERENCES peer_hosts(peer_host)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- INSERT INTO peer_hosts SET peer_host='127.0.0.1';
-- INSERT INTO peers SET peer_host='127.0.0.1', peer='ws://127.0.0.1:8081';
CREATE TABLE peer_events (
peer_host VARCHAR(100) NOT NULL, -- domain or IP
event_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
event ENUM('new_good', 'invalid', 'nonserial', 'known_good', 'known_bad') NOT NULL,
FOREIGN KEY byPeerHost(peer_host) REFERENCES peer_hosts(peer_host)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- self advertised urls
-- only inbound peers can advertise their urls
CREATE TABLE peer_host_urls (
peer_host VARCHAR(100) NOT NULL, -- IP
url VARCHAR(100) NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
is_active TINYINT NULL DEFAULT 1,
revocation_date TIMESTAMP NULL,
UNIQUE KEY byHostActive(peer_host, is_active),
FOREIGN KEY byPeerHost(peer_host) REFERENCES peer_hosts(peer_host)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- -----------------------
-- wallet tables
-- wallets composed of BIP44 keys, the keys live on different devices, each device knows each other's extended public key
CREATE TABLE wallets (
wallet CHAR(44) NOT NULL PRIMARY KEY,
account INT NOT NULL,
definition_template TEXT NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
full_approval_date TIMESTAMP NULL, -- when received xpubkeys from all members
ready_date TIMESTAMP NULL -- when all members notified me that they saw the wallet fully approved
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- BIP44 addresses. Coin type and account are fixed and stored in credentials in localstorage.
-- derivation path is m/44'/0'/account'/is_change/address_index
CREATE TABLE my_addresses (
address CHAR(32) NOT NULL PRIMARY KEY,
wallet CHAR(44) NOT NULL,
is_change TINYINT NOT NULL,
address_index INT NOT NULL,
definition TEXT NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
UNIQUE KEY byWalletPath(wallet, is_change, address_index),
FOREIGN KEY byWallet(wallet) REFERENCES wallets(wallet)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE my_witnesses (
address VARCHAR(32) NOT NULL PRIMARY KEY
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------
-- hub tables
CREATE TABLE devices (
device_address CHAR(33) NOT NULL PRIMARY KEY,
pubkey CHAR(44) NOT NULL,
temp_pubkey_package TEXT NULL, -- temporary pubkey signed by the permanent pubkey
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE device_messages (
message_hash CHAR(44) NOT NULL PRIMARY KEY,
device_address CHAR(33) NOT NULL, -- the device this message is addressed to
message LONGTEXT NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
FOREIGN KEY byAddress(device_address) REFERENCES devices(device_address)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------
-- hub client tables
CREATE TABLE correspondent_devices (
device_address CHAR(33) NOT NULL PRIMARY KEY,
name VARCHAR(100) NOT NULL,
pubkey CHAR(44) NOT NULL,
hub VARCHAR(100) NOT NULL, -- domain name of the hub this address is subscribed to
is_confirmed TINYINT NOT NULL DEFAULT 0,
is_indirect TINYINT NOT NULL DEFAULT 0,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE pairing_secrets (
pairing_secret VARCHAR(40) NOT NULL PRIMARY KEY,
is_permanent TINYINT NOT NULL DEFAULT 0,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
expiry_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP -- DEFAULT for newer mysql versions (never used)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE extended_pubkeys (
wallet CHAR(44) NOT NULL, -- no FK because xpubkey may arrive earlier than the wallet is approved by the user and written to the db
extended_pubkey CHAR(112) NULL, -- base58 encoded, see bip32, NULL while pending
device_address CHAR(33) NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
approval_date TIMESTAMP NULL,
member_ready_date TIMESTAMP NULL, -- when this member notified us that he has collected all member xpubkeys
PRIMARY KEY (wallet, device_address)
-- own address is not present in correspondents
-- FOREIGN KEY byDeviceAddress(device_address) REFERENCES correspondent_devices(device_address)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE wallet_signing_paths (
wallet CHAR(44) NOT NULL, -- no FK because xpubkey may arrive earlier than the wallet is approved by the user and written to the db
signing_path VARCHAR(255) NULL, -- NULL if xpubkey arrived earlier than the wallet was approved by the user
device_address CHAR(33) NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
UNIQUE KEY byWalletSigningPath(wallet, signing_path),
FOREIGN KEY byWallet(wallet) REFERENCES wallets(wallet)
-- own address is not present in correspondents
-- FOREIGN KEY byDeviceAddress(device_address) REFERENCES correspondent_devices(device_address)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- addresses composed of several other addresses (such as ["and", [["address", "ADDRESS1"], ["address", "ADDRESS2"]]]),
-- member addresses live on different devices, member addresses themselves may be composed of several keys
CREATE TABLE shared_addresses (
shared_address CHAR(32) NOT NULL PRIMARY KEY,
definition TEXT NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE pending_shared_addresses (
definition_template_chash CHAR(32) NOT NULL PRIMARY KEY,
definition_template TEXT NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE pending_shared_address_signing_paths (
definition_template_chash CHAR(32) NOT NULL,
device_address CHAR(33) NOT NULL,
signing_path VARCHAR(255) NOT NULL, -- path from root to member address
address CHAR(32) NULL, -- member address
device_addresses_by_relative_signing_paths TEXT NULL, -- json
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
approval_date TIMESTAMP NULL,
PRIMARY KEY (definition_template_chash, signing_path),
-- own address is not present in correspondents
-- FOREIGN KEY byDeviceAddress(device_address) REFERENCES correspondent_devices(device_address),
FOREIGN KEY byTemplate(definition_template_chash) REFERENCES pending_shared_addresses(definition_template_chash)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE shared_address_signing_paths (
shared_address CHAR(32) NOT NULL,
signing_path VARCHAR(255) NULL, -- full path to signing key which is a member of the member address
address CHAR(32) NOT NULL, -- member address
member_signing_path VARCHAR(255) NULL, -- path to signing key from root of the member address
device_address CHAR(33) NOT NULL, -- where this signing key lives or is reachable through
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
UNIQUE KEY bySharedAddressSigningPath(shared_address, signing_path),
FOREIGN KEY bySharedAddress(shared_address) REFERENCES shared_addresses(shared_address)
-- own address is not present in correspondents
-- FOREIGN KEY byDeviceAddress(device_address) REFERENCES correspondent_devices(device_address)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE outbox (
message_hash CHAR(44) NOT NULL PRIMARY KEY,
`to` CHAR(33) NOT NULL, -- the device this message is addressed to, no FK because of pairing case
message LONGTEXT NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
last_error TEXT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- light clients
CREATE TABLE watched_light_addresses (
peer VARCHAR(100) NOT NULL,
address CHAR(32) NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (peer, address),
KEY byAddress(address)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
ALTER TABLE `units` ADD INDEX `bySequence` (`sequence`);
DROP TABLE IF EXISTS paid_witness_events;
CREATE TABLE IF NOT EXISTS push_registrations (
registrationId VARCHAR(200),
device_address CHAR(33) NOT NULL,
PRIMARY KEY (device_address)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE chat_messages (
id INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT,
correspondent_address CHAR(33) NOT NULL, -- the device this message is came from
message LONGTEXT NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
is_incoming TINYINT NOT NULL,
type CHAR(15) NOT NULL DEFAULT 'text',
FOREIGN KEY byAddress(correspondent_address) REFERENCES correspondent_devices(device_address) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE INDEX chatMessagesIndexByDeviceAddress ON chat_messages(correspondent_address, id);
ALTER TABLE correspondent_devices ADD COLUMN my_record_pref INTEGER DEFAULT 1;
ALTER TABLE correspondent_devices ADD COLUMN peer_record_pref INTEGER DEFAULT 1;
CREATE TABLE watched_light_units (
peer VARCHAR(100) NOT NULL,
unit CHAR(44) BINARY NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (peer, unit)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE INDEX wlabyUnit ON watched_light_units(unit);
CREATE TABLE bots (
id INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT,
rank INTEGER NOT NULL DEFAULT 0,
name VARCHAR(100) NOT NULL UNIQUE,
pairing_code VARCHAR(200) NOT NULL,
description LONGTEXT NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE asset_metadata (
asset CHAR(44) BINARY NOT NULL PRIMARY KEY,
metadata_unit CHAR(44) BINARY NOT NULL,
registry_address CHAR(32) NULL, -- filled only on the hub
suffix VARCHAR(20) NULL, -- added only if the same name is registered by different registries for different assets, equal to registry name
name VARCHAR(20) NULL,
decimals TINYINT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
UNIQUE byNameRegistry(name, registry_address),
FOREIGN KEY byAsset(asset) REFERENCES assets(unit),
FOREIGN KEY byMetadataUnit(metadata_unit) REFERENCES units(unit)
-- FOREIGN KEY byRegistryAddress(registry_address) REFERENCES addresses(address) -- addresses is not always filled on light
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE sent_mnemonics (
unit CHAR(44) BINARY NOT NULL,
address CHAR(32) NOT NULL,
mnemonic VARCHAR(107) NOT NULL,
textAddress VARCHAR(120) NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
FOREIGN KEY (unit) REFERENCES units(unit)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE INDEX sentByAddress ON sent_mnemonics(address);
CREATE TABLE private_profiles (
private_profile_id INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT,
unit CHAR(44) BINARY NOT NULL,
payload_hash CHAR(44) NOT NULL,
attestor_address CHAR(32) NOT NULL,
address CHAR(32) NOT NULL,
src_profile TEXT NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
FOREIGN KEY (unit) REFERENCES units(unit)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE private_profile_fields (
private_profile_id INTEGER NOT NULL ,
`field` VARCHAR(50) NOT NULL,
`value` VARCHAR(50) NOT NULL,
blinding CHAR(16) NOT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
UNIQUE byProfileIdField(private_profile_id, `field`),
FOREIGN KEY (private_profile_id) REFERENCES private_profiles(private_profile_id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE INDEX ppfByField ON private_profile_fields(`field`);
|
/*
Usage:
DECLARE
@P_Function_SeqID int = 1,
@P_Security_Entity_SeqID INT = 1,
@P_Groups VARCHAR(MAX) = 'EveryOne',
@P_Permissions_NVP_Detail_SeqID INT = 1,
@P_Added_Updated_By INT = 1,
@P_Debug INT = 1
exec ZGWSecurity.Set_Function_Groups
@P_Function_SeqID,
@P_Security_Entity_SeqID,
@P_Groups,
@P_Permissions_NVP_Detail_SeqID,
@P_Added_Updated_By,
@P_Debug
*/
-- =============================================
-- Author: <NAME>
-- Create date: 08/26/2011
-- Description: Delete and inserts into ZGWSecurity.Groups_Security_Entities_Functions
-- =============================================
CREATE PROCEDURE [ZGWSecurity].[Set_Function_Groups]
@P_Function_SeqID int,
@P_Security_Entity_SeqID INT,
@P_Groups VARCHAR(MAX),
@P_Permissions_NVP_Detail_SeqID INT,
@P_Added_Updated_By INT,
@P_Debug INT = 0
AS
BEGIN TRANSACTION
IF @P_Debug = 1 PRINT 'Starting ZGWSecurity.Groups_Security_Entities_Functions'
-- NEED TO DELETE EXISTING Group ASSOCITAED WITH THE FUNCTION BEFORE
-- INSERTING NEW ONES.
DECLARE @V_ErrorCodde INT
,@V_Group_SeqID INT
,@V_Groups_Security_Entities_SeqID AS INT
,@V_Group_Name VARCHAR(50)
,@V_Pos INT
,@V_ErrorMsg VARCHAR(MAX)
,@V_Now DATETIME = GETDATE()
EXEC ZGWSecurity.Delete_Function_Groups @P_Function_SeqID,@P_Security_Entity_SeqID,@P_Permissions_NVP_Detail_SeqID,@P_Added_Updated_By,@V_ErrorCodde
IF @@ERROR <> 0
BEGIN
EXEC ZGWSystem.Log_Error_Info @P_Debug
SET @V_ErrorMsg = 'Error executing ZGWSecurity.Delete_Function_Groups' + CHAR(10)
RAISERROR(@V_ErrorMsg,16,1)
RETURN @@ERROR
END
SET @P_Groups = LTRIM(RTRIM(@P_Groups))+ ','
SET @V_Pos = CHARINDEX(',', @P_Groups, 1)
IF LEN(REPLACE(@P_Groups, ',', '')) > 0
WHILE @V_Pos > 0
BEGIN -- go through all the Groups and add if necessary
SET @V_Group_Name = LTRIM(RTRIM(LEFT(@P_Groups, @V_Pos - 1)))
IF @V_Group_Name <> ''
BEGIN
--select the Group seq id first
SELECT
@V_Group_SeqID = ZGWSecurity.Groups.Group_SeqID
FROM
ZGWSecurity.Groups
WHERE
[Name]=@V_Group_Name
--select the Groups_Security_Entities_SeqID
SELECT
@V_Groups_Security_Entities_SeqID=Groups_Security_Entities_SeqID
FROM
ZGWSecurity.Groups_Security_Entities
WHERE
Group_SeqID = @V_Group_SeqID AND
Security_Entity_SeqID = @P_Security_Entity_SeqID
IF @P_Debug = 1 PRINT('@V_Groups_Security_Entities_SeqID = ' + CONVERT(VARCHAR,@V_Groups_Security_Entities_SeqID))
IF NOT EXISTS(
SELECT
Groups_Security_Entities_SeqID
FROM
ZGWSecurity.Groups_Security_Entities_Functions
WHERE
Function_SeqID = @P_Function_SeqID
AND Permissions_NVP_Detail_SeqID = @P_Permissions_NVP_Detail_SeqID
AND Groups_Security_Entities_SeqID = @V_Groups_Security_Entities_SeqID)
BEGIN TRY-- INSERT RECORD
INSERT ZGWSecurity.Groups_Security_Entities_Functions (
Function_SeqID,
Groups_Security_Entities_SeqID,
Permissions_NVP_Detail_SeqID,
Added_By,
Added_Date
)
VALUES (
@P_Function_SeqID,
@V_Groups_Security_Entities_SeqID,
@P_Permissions_NVP_Detail_SeqID,
@P_Added_Updated_By,
@V_Now
)
END TRY
BEGIN CATCH
GOTO ABEND
END CATCH
--END IF
END
SET @P_Groups = RIGHT(@P_Groups, LEN(@P_Groups) - @V_Pos)
SET @V_Pos = CHARINDEX(',', @P_Groups, 1)
END
--END WHILE
IF @@error <> 0 GOTO ABEND
Commit Transaction
RETURN 0
ABEND:
IF @@error <> 0
BEGIN
ROLLBACK TRAN
EXEC ZGWSystem.Log_Error_Info @P_Debug
SET @V_ErrorMsg = 'Error executing ZGWSecurity.Set_Account_Roles' + CHAR(10)
SET @V_ErrorMsg = @V_ErrorMsg + ERROR_MESSAGE()
RAISERROR(@V_ErrorMsg,16,1)
RETURN @@ERROR
END
--END IF |
<reponame>ridem/lumber
CREATE TABLE parenthesis_underscored_table (
id INT NOT NULL,
"Ingredients (Kcal/100g)" VARCHAR,
ingredient_weight INT NOT NULL,
PRIMARY KEY (id)
);
|
<filename>cid/builtin/core/data/queries/shared/ta_descriptions.sql
create or replace view ta_descriptions as select * from (values
ROW( 'Qch7DwouX1', 'en', 'Low Utilization Amazon EC2 Instances', 'Checks the Amazon Elastic Compute Cloud (Amazon EC2) instances that were running at any time during the last 14 days and alerts you if the daily CPU utilization was 10% or less and network I/O was 5 MB or less on 4 or more days. Running instances generate hourly usage charges. Although some scenarios can result in low utilization by design, you can often lower your costs by managing the number and size of your instances.<br><br>Estimated monthly savings are calculated by using the current usage rate for On-Demand Instances and the estimated number of days the instance might be underutilized. Actual savings will vary if you are using Reserved Instances or Spot Instances, or if the instance is not running for a full day. To get daily utilization data, download the report for this check. <br><br><b>Alert Criteria</b><br>Yellow: An instance had 10% or less daily average CPU utilization and 5 MB or less network I/O on at least 4 of the previous 14 days.<br><br><b>Recommended Action</b><br>Consider stopping or terminating instances that have low utilization, or scale the number of instances by using Auto Scaling. For more information, see <a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html" target="_blank">Stop and Start Your Instance</a>, <a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html" target="_blank">Terminate Your Instance</a>, and <a href="http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/WhatIsAutoScaling.html" target="_blank">What is Auto Scaling?</a><br><br><b>Additional Resources</b><br><a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-monitoring.html" target="_blank">Monitoring Amazon EC2</a><br><a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AESDG-chapter-instancedata.html" target="_blank">Instance Metadata and User Data</a><br><a href="http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/Welcome.html" target="_blank">Amazon CloudWatch Developer Guide</a><br><a href="http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/WhatIsAutoScaling.html" target="_blank">Auto Scaling Developer Guide</a>')
,ROW( 'hjLMh88uM8', 'en', 'Idle Load Balancers', 'Checks your Elastic Load Balancing configuration for load balancers that are not actively used. Any load balancer that is configured accrues charges. If a load balancer has no associated back-end instances or if network traffic is severely limited, the load balancer is not being used effectively.<br /><br /><b>Alert Criteria</b><br />Yellow: A load balancer has no active back-end instances.<br />Yellow: A load balancer has no healthy back-end instances.<br />Yellow: A load balancer has had less than 100 requests per day for the last 7 days.<br /><br /><b>Recommended Action</b><br />If your load balancer has no active back-end instances, consider registering instances or deleting your load balancer. See <a href="http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/US_DeReg_Reg_Instances.html#RegisteringInstances" target="_blank">Registering Your Amazon EC2 Instances with Your Load Balancer</a> or <a href="http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/US_EndLoadBalancing02.html" target="_blank">Delete Your Load Balancer</a>.<br />If your load balancer has no healthy back-end instances, see <a href="http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/ts-elb-healthcheck.html" target="_blank">Troubleshooting Elastic Load Balancing: Health Check Configuration</a>.<br />If your load balancer has had a low request count, consider deleting your load balancer. See <a href="http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/US_EndLoadBalancing02.html" target="_blank">Delete Your Load Balancer</a>.<br /><br /><b>Additional Resources</b><br /><a href="http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/UserScenarios.html" target="_blank">Managing Load Balancers</a><br /><a href="http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/elb-troubleshooting.html" target="_blank">Troubleshoot Elastic Load Balancing</a>')
,ROW( 'DAvU99Dc4C', 'en', 'Underutilized Amazon EBS Volumes', 'Checks Amazon Elastic Block Store (Amazon EBS) volume configurations and warns when volumes appear to be underused. Charges begin when a volume is created. If a volume remains unattached or has very low write activity (excluding boot volumes) for a period of time, the volume is probably not being used.<br><br><b>Alert Criteria</b><br>Yellow: A volume is unattached or had less than 1 IOPS per day for the past 7 days.<br><br><b>Recommended Action</b><br>Consider creating a snapshot and deleting the volume to reduce costs. For more information, see <a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-creating-snapshot.html" target="_blank">Creating an Amazon EBS Snapshot</a> and <a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-deleting-volume.html" target="_blank">Deleting an Amazon EBS Volume</a>.<br><br><b>Additional Resources</b><br><a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AmazonEBS.html" target="_blank">Amazon Elastic Block Store (Amazon EBS)</a><br><a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-volume-status.html" target="_blank">Monitoring the Status of Your Volumes</a>')
,ROW( 'Z4AUBRNSmz', 'en', 'Unassociated Elastic IP Addresses', 'Checks for Elastic IP addresses (EIPs) that are not associated with a running Amazon Elastic Compute Cloud (Amazon EC2) instance. EIPs are static IP addresses designed for dynamic cloud computing. Unlike traditional static IP addresses, EIPs can mask the failure of an instance or Availability Zone by remapping a public IP address to another instance in your account. A nominal charge is imposed for an EIP that is not associated with a running instance.<br><br><b>Alert Criteria</b><br>Yellow: An allocated Elastic IP address (EIP) is not associated with a running Amazon EC2 instance.<br><br><b>Recommended Action</b><br>Associate the EIP with a running active instance, or release the unassociated EIP. For more information, see <a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html#using-instance-addressing-eips-associating-different" target="_blank">Associating an Elastic IP Address with a Different Running Instance</a> and <a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html#using-instance-addressing-eips-releasing" target="_blank">Releasing an Elastic IP Address</a>.<br><br><b>Additional Resources</b><br><a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html" target="_blank">Elastic IP Addresses</a>')
,ROW( 'HCP4007jGY', 'en', 'Security Groups - Specific Ports Unrestricted', 'Checks security groups for rules that allow unrestricted access (0.0.0.0/0) to specific ports. Unrestricted access increases opportunities for malicious activity (hacking, denial-of-service attacks, loss of data). The ports with highest risk are flagged red, and those with less risk are flagged yellow. Ports flagged green are typically used by applications that require unrestricted access, such as HTTP and SMTP.<br>If you have intentionally configured your security groups in this manner, we recommend using additional security measures to secure your infrastructure (such as IP tables).<br><br>Note: Security groups created by AWS Directory Services are flagged as red or yellow, but do not pose a security risk and can be safely ignored or suppressed. Refer to <a href="https://aws.amazon.com/premiumsupport/faqs/#AWS_Trusted_Advisor" target="_blank">Trusted Advisor FAQ</a> for more details.<br><br><b>Alert Criteria</b><br>Green: Access to port 80, 25, 443, or 465 is unrestricted.<br>Red: Access to port 20, 21, 1433, 1434, 3306, 3389, 4333, 5432, or 5500 is unrestricted.<br>Yellow: Access to any other port is unrestricted.<br><br><b>Recommended Action</b><br>Restrict access to only those IP addresses that require it. To restrict access to a specific IP address, set the suffix to /32 (for example, 192.0.2.10/32). Be sure to delete overly permissive rules after creating rules that are more restrictive.<br><br><b>Additional Resources</b><br><a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html" target="_blank">Amazon EC2 Security Groups</a><br><a href="http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers" target="_blank">List of TCP and UDP port numbers</a> (Wikipedia)<br><a href="http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing" target="_blank">Classless Inter-Domain Routing</a> (Wikipedia)')
,ROW( '1iG5NDGVre', 'en', 'Security Groups - Unrestricted Access', 'Checks security groups for rules that allow unrestricted access to a resource. Unrestricted access increases opportunities for malicious activity (hacking, denial-of-service attacks, loss of data).<br><br>Note: Security groups created by AWS Directory Services are flagged as red, but do not pose a security risk and can be safely ignored or suppressed. Refer to <a href="https://aws.amazon.com/premiumsupport/faqs/#AWS_Trusted_Advisor" target="_blank">Trusted Advisor FAQ</a> for more details.<br><br><b>Alert Criteria</b><br>Red: A security group rule has a source IP address with a /0 suffix for ports other than 25, 80, or 443.<br><br><b>Recommended Action</b><br>Restrict access to only those IP addresses that require it. To restrict access to a specific IP address, set the suffix to /32 (for example, 192.0.2.10/32). Be sure to delete overly permissive rules after creating rules that are more restrictive.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html" target="_blank">Amazon EC2 Security Groups</a><br><a href="https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing" target="_blank">Classless Inter-Domain Routing</a> (Wikipedia)')
,ROW( 'zXCkfM1nI3', 'en', 'IAM Use', 'Checks for your use of AWS Identity and Access Management (IAM). You can use IAM to create users, groups, and roles in AWS, and you can use permissions to control access to AWS resources. <br><br><b>Alert Criteria</b><br>Yellow: No IAM users have been created for this account.<br><br><b>Recommended Action</b><br>Create one or more IAM users and groups in your account. You can then create additional users whose permissions are limited to perform specific tasks in your AWS environment. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/IAMGettingStarted.html" target="_blank">Getting Started</a>. <br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/IAM_Introduction.html" target="_blank">What Is IAM?</a>')
,ROW( 'Pfx0RwqBli', 'en', 'Amazon S3 Bucket Permissions', 'Checks buckets in Amazon Simple Storage Service (Amazon S3) that have open access permissions or allow access to any authenticated AWS user. Bucket permissions that grant List access can result in higher than expected charges if objects in the bucket are listed by unintended users at a high frequency. Bucket permissions that grant Upload/Delete access create potential security vulnerabilities by allowing users that to add, modify, or remove items in a bucket.<br><br><b>Alert Criteria</b><br>Yellow: The bucket ACL allows List access for "Everyone" or "Any Authenticated AWS User".<br>Yellow: A bucket policy allows any kind of open access.<br>Yellow: Bucket policy has statements that grant public access. The "Block public and cross-account access to buckets that have public policies" setting is turned on and has restricted access to only authorized users of that account until public statements are removed.<br>Yellow: Trusted Advisor does not have permission to check the policy, or the policy could not be evaluated for other reasons.<br>Red: The bucket ACL allows Upload/Delete access for "Everyone" or "Any Authenticated AWS User".<br><br><b>Recommended Action</b><br>If a bucket allows open access, determine if open access is truly needed. If not, update the bucket permissions to restrict access to the owner or specific users. Use Amazon S3 Block Public Access to control the settings that allow public access to your data. See <a href="https://docs.aws.amazon.com/AmazonS3/latest/user-guide/set-permissions.html" target="_blank">Setting Bucket and Object Access Permissions</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html" target="_blank">Managing Access Permissions to Your Amazon S3 Resources</a>')
,ROW( '7DAFEmoDos', 'en', 'MFA on Root Account', 'Checks the root account and warns if multi-factor authentication (MFA) is not enabled. For increased security, we recommend that you protect your account by using MFA, which requires a user to enter a unique authentication code from their MFA hardware or virtual device when interacting with the AWS console and associated websites.<br><br><b>Alert Criteria</b><br>Red: MFA is not enabled on the root account.<br><br><b>Recommended Action</b><br>Log in to your root account and activate an MFA device. See <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/MFADeviceStatus.html" target="_blank">Checking MFA Status</a> and <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/MFADeviceSetup.html" target="_blank">Setting Up an MFA Device</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingMFA.html" target="_blank">Using Multi-Factor Authentication (MFA) Devices with AWS</a>')
,ROW( 'Yw2K9puPzl', 'en', 'IAM Password Policy', 'Checks the password policy for your account and warns when a password policy is not enabled, or if password content requirements have not been enabled. Password content requirements increase the overall security of your AWS environment by enforcing the creation of strong user passwords. When you create or change a password policy, the change is enforced immediately for new users but does not require existing users to change their passwords. <br><br><b>Alert Criteria</b><br>Yellow: A password policy is enabled, but at least one content requirement is not enabled. <br>Red: No password policy is enabled. <br><br><b>Recommended Action</b><br>If some content requirements are not enabled, consider enabling them. If no password policy is enabled, create and configure one. See <a href="http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingPasswordPolicies.html" target="_blank">Setting an Account Password Policy for IAM Users</a>. <br><br><b>Additional Resources</b><br><a href="http://docs.aws.amazon.com/IAM/latest/UserGuide/Credentials-ManagingPasswords.html" target="_blank">Managing Passwords</a>')
,ROW( 'nNauJisYIT', 'en', 'Amazon RDS Security Group Access Risk', 'Checks security group configurations for Amazon Relational Database Service (Amazon RDS) and warns when a security group rule might grant overly permissive access to your database. Recommended configuration for any security group rule is to allow access from specific Amazon Elastic Compute Cloud (Amazon EC2) security groups or from a specific IP address. Data for Amazon Relational Database Service (Amazon RDS) instances created in the Asia Pacific (Seoul) region (sa-east-1) is not available. We are working to fix this issue as soon as possible.<br><br><b>Alert Criteria</b><br>Yellow: A DB security group rule references an Amazon EC2 security group that grants global access on one of these ports: 20, 21, 22, 1433, 1434, 3306, 3389, 4333, 5432, 5500.<br>Yellow: A DB security group rule grants access to more than a single IP address (the CIDR rule suffix is not /0 or /32).<br>Red: A DB security group rule grants global access (the CIDR rule suffix is /0).<br><br><b>Recommended Action</b><br>Review your security group rules and restrict access to authorized IP addresses or IP ranges. To edit a security group, use the <a href="https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_AuthorizeDBSecurityGroupIngress.html" target="_blank">AuthorizeDBSecurityGroupIngress</a> API or the AWS Management Console. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithSecurityGroups.html" target="_blank">Working with DB Security Groups</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.RDSSecurityGroups.html" target="_blank">Amazon RDS Security Groups</a><br><a href="https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing" target="_blank">Classless Inter-Domain Routing</a><br><a href="https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers" target="_blank">List of TCP and UDP port numbers</a>')
,ROW( 'H7IgTzjTYb', 'en', 'Amazon EBS Snapshots', 'Checks the age of the snapshots for your Amazon Elastic Block Store (Amazon EBS) volumes (available or in-use). Even though Amazon EBS volumes are replicated, failures can occur. Snapshots are persisted to Amazon Simple Storage Service (Amazon S3) for durable storage and point-in-time recovery.<br><br><b>Alert Criteria</b><br>Yellow: The most recent volume snapshot is between 7 and 30 days old.<br>Red: The most recent volume snapshot is more than 30 days old.<br>Red: The volume does not have a snapshot.<br><br><b>Recommended Action</b><br>Create weekly or monthly snapshots of your volumes. For more information, see <a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-creating-snapshot.html" target="_blank">Creating an Amazon EBS Snapshot</a>.<br><br><b>Additional Resources</b><br><a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AmazonEBS.html" target="_blank">Amazon Elastic Block Store (Amazon EBS)</a>')
,ROW( 'wuy7G1zxql', 'en', 'Amazon EC2 Availability Zone Balance', 'Checks the distribution of Amazon Elastic Compute Cloud (Amazon EC2) instances across Availability Zones in a region. Availability Zones are distinct locations that are designed to be insulated from failures in other Availability Zones and to provide inexpensive, low-latency network connectivity to other Availability Zones in the same region. By launching instances in multiple Availability Zones in the same region, you can help protect your applications from a single point of failure.<br><br><b>Alert Criteria</b><br>Yellow: The region has instances in multiple zones, but the distribution is uneven (the difference between the highest and lowest instance counts in utilized Availability Zones is greater than 20%).<br>Red: The region has instances only in a single Availability Zone.<br><br><b>Recommended Action</b><br>Balance your Amazon EC2 instances evenly across multiple Availability Zones. You can do this by launching instances manually or by using Auto Scaling to do it automatically. For more information, see <a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/LaunchingAndUsingInstances.html" target="_blank">Launch Your Instance</a> and <a href="http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/US_SetUpASLBApp.html" target="_blank">Load Balance Your Auto Scaling Group</a>.<br><br><b>Additional Resources</b><br><a href="http://docs.aws.amazon.com/AutoScaling/latest/GettingStartedGuide/Welcome.html" target="_blank">Auto Scaling Getting Started Guide</a><br><a href="http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/WhatIsAutoScaling.html" target="_blank">Auto Scaling Developer Guide</a>')
,ROW( 'iqdCTZKCUp', 'en', 'Load Balancer Optimization', 'Checks your load balancer configuration. To help increase the level of fault tolerance in Amazon Elastic Compute Cloud (EC2) when using Elastic Load Balancing, we recommend running an equal number of instances across multiple Availability Zones in a region. A load balancer that is configured accrues charges, so this is a cost-optimization check as well.<br/><br/><b>Alert Criteria</b><br/>Yellow: A load balancer is enabled for a single Availability Zone.<br/>Yellow: A load balancer is enabled for an Availability Zone that has no active instances.<br/>Yellow: The Amazon EC2 instances that are registered with a load balancer are unevenly distributed across Availability Zones. (The difference between the highest and lowest instance counts in utilized Availability Zones is more than 1, and the difference is more than 20% of the highest count.)<br/><br/><b>Recommended Action</b><br/>Ensure that your load balancer points to active and healthy instances in at least two Availability Zones. For more information, see <a href="http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/enable-disable-az.html#US_AddLBAvailabilityZone" target="_blank">Add Availability Zone</a>.<br/>If your load balancer is configured for an Availability Zone with no healthy instances, or if there is an imbalance of instances across the Availability Zones, determine if all the Availability Zones are necessary. Omit any unnecessary Availability Zones and ensure there is a balanced distribution of instances across the remaining Availability Zones. For more information, see <a href="http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/enable-disable-az.html#US_ShrinkLBApp04" target="_blank">Remove Availability Zone</a>.<br/><br/><b>Additional Resources</b><br/><a href="http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/TerminologyandKeyConcepts.html#AZ-Region" target="_blank">Availability Zones and Regions</a><br/><a href="http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/UserScenarios.html" target="_blank">Managing Load Balancers</a><br/><a href="http://aws.amazon.com/articles/1636185810492479" target="_blank">Best Practices in Evaluating Elastic Load Balancing</a>')
,ROW( 'S45wrEXrLz', 'en', 'VPN Tunnel Redundancy', 'Checks the number of tunnels that are active for each of your VPNs. A VPN should have two tunnels configured at all times to provide redundancy in case of outage or planned maintenance of the devices at the AWS endpoint. For some hardware, only one tunnel is active at a time (see the <a href="http://docs.aws.amazon.com/AmazonVPC/latest/NetworkAdminGuide/Welcome.html" target="_blank">Amazon Virtual Private Cloud Network Administrator Guide</a>). If a VPN has no active tunnels, charges for the VPN might still apply.<br><br><b>Alert Criteria</b><br>Yellow: A VPN has one active tunnel (this is normal for some hardware).<br>Yellow: A VPN has no active tunnels.<br><br><b>Recommended Action</b><br>Be sure that two tunnels are configured for your VPN connection, and that both are active if your hardware supports it. If you no longer need a VPN connection, you can delete it to avoid charges. For more information, see <a href="http://docs.aws.amazon.com/AmazonVPC/latest/NetworkAdminGuide/Introduction.html" target="_blank">Your Customer Gateway</a> or <a href="http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_VPN.html#delete-vpn" target="_blank">Deleting a VPN connection</a>.<br><br><b>Additional Resources</b><br><a href="http://docs.aws.amazon.com/AmazonVPC/latest/NetworkAdminGuide/Welcome.html" target="_blank">Amazon Virtual Private Cloud Network Administrator Guide</a><br><a href="http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_VPN.html" target="_blank">Adding a Hardware Virtual Private Gateway to Your VPC</a>')
,ROW( 'ZRxQlPsb6c', 'en', 'High Utilization Amazon EC2 Instances', 'Checks the Amazon Elastic Compute Cloud (Amazon EC2) instances that were running at any time during the last 14 days and alerts you if the daily CPU utilization was more than 90% on 4 or more days. Consistent high utilization can indicate optimized, steady performance, but it can also indicate that an application does not have enough resources. To get daily CPU utilization data, download the report for this check.<br><br><b>Alert Criteria</b><br>Yellow: An instance had more than 90% daily average CPU utilization on at least 4 of the previous 14 days.<br><br><b>Recommended Action</b><br>Consider adding more instances. For information about scaling the number of instances based on demand, see <a href="http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/WhatIsAutoScaling.html" target="_blank">What is Auto Scaling?</a><br><br><b>Additional Resources</b><br><a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-monitoring.html" target="_blank">Monitoring Amazon EC2</a><br><a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AESDG-chapter-instancedata.html" target="_blank">Instance Metadata and User Data</a><br><a href="http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/Welcome.html" target="_blank">Amazon CloudWatch Developer Guide</a><br><a href="http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/WhatIsAutoScaling.html" target="_blank">Auto Scaling Developer Guide</a>')
,ROW( '8CNsSllI5v', 'en', 'Auto Scaling Group Resources', 'Checks the availability of resources associated with launch configurations and your Auto Scaling groups. Auto Scaling groups that point to unavailable resources cannot launch new Amazon Elastic Compute Cloud (Amazon EC2) instances. When properly configured, Auto Scaling causes the number of Amazon EC2 instances to increase seamlessly during demand spikes and decrease automatically during demand lulls. Auto Scaling groups and launch configurations that point to unavailable resources do not operate as intended.<br><br><b>Alert Criteria</b><br>Red: An Auto Scaling group is associated with a deleted load balancer.<br>Red: A launch configuration is associated with a deleted Amazon Machine Image (AMI).<br><br><b>Recommended Action</b><br>If the load balancer has been deleted, either create a new load balancer and then create a new Auto Scaling group with the new load balancer, or create a new Auto Scaling group without the load balancer. For information about creating a new Auto Scaling group with a new load balancer, see <a href="http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/as-register-lbs-with-asg.html" target="_blank">Set Up an Auto-Scaled and Load-Balanced Application</a>. For information about creating a new Auto Scaling group without a load balancer, see "Create Auto Scaling Group" in <a href="http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/USBasicSetup-Console.html" target="_blank">Getting Started With Auto Scaling Using the Console</a>.<br>If the AMI has been deleted, create a new launch configuration using a valid AMI and associate it with an Auto Scaling group. See "Create Launch Configuration" in <a href="http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/USBasicSetup-Console.html" target="_blank">Getting Started With Auto Scaling Using the Console</a>.<br><br><b>Additional Resources</b><br><a href="http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/ts-as-ami.html" target="_blank">Troubleshooting Auto Scaling: Amazon EC2 AMIs</a><br><a href="http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/ts-as-loadbalancer.html" target="_blank">Troubleshooting Auto Scaling: Load Balancer Configuration</a><br><a href="http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/WhatIsAutoScaling.html" target="_blank">Auto Scaling Developer Guide</a>')
,ROW( 'opQPADkZvH', 'en', 'Amazon RDS Backups', 'Checks for automated backups of Amazon RDS DB instances. By default, backups are enabled with a retention period of 1 day. Backups reduce the risk of unexpected data loss and allow for point-in-time recovery. Data for Amazon Relational Database Service (Amazon RDS) instances created in the Asia Pacific (Seoul) region (sa-east-1) is not available. We are working to fix this issue as soon as possible.<br><br><b>Alert Criteria</b><br>Red: A DB instance has the backup retention period set to 0 days.<br><br><b>Recommended Action</b><br>Set the retention period for the automated DB instance backup to 1 to 35 days as appropriate to the requirements of your application. See <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html" target="_blank">Working With Automated Backups</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_GettingStarted.html" target="_blank">Getting Started with Amazon RDS</a>')
,ROW( 'f2iK5R6Dep', 'en', 'Amazon RDS Multi-AZ', 'Checks for DB instances that are deployed in a single Availability Zone. Multi-AZ deployments enhance database availability by synchronously replicating to a standby instance in a different Availability Zone. During planned database maintenance or the failure of a DB instance or Availability Zone, Amazon RDS automatically fails over to the standby so that database operations can resume quickly without administrative intervention. Because Multi-AZ deployments for the SQL Server engine use a different mechanism for synchronization, this check does not examine SQL Server instances. <br>Data for Amazon Relational Database Service (Amazon RDS) instances created in the Asia Pacific (Seoul) region (sa-east-1) is not available. We are working to fix this issue as soon as possible.<br><br><b>Alert Criteria</b><br>Yellow: A DB instance is deployed in a single Availability Zone.<br><br><b>Recommended Action</b><br>If your application requires high availability, modify your DB instance to enable Multi-AZ deployment. See <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.MultiAZ.html" target="_blank">High Availability (Multi-AZ)</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html" target="_blank">Regions and Availability Zones</a>')
,ROW( 'CLOG40CDO8', 'en', 'Auto Scaling Group Health Check', 'Examines the health check configuration for Auto Scaling groups. If Elastic Load Balancing is being used for an Auto Scaling group, the recommended configuration is to enable an Elastic Load Balancing health check. If an Elastic Load Balancing health check is not used, Auto Scaling can only act upon the health of the Amazon Elastic Compute Cloud (Amazon EC2) instance and not on the application that is running on the instance.<br><br><b>Alert Criteria</b><br>Yellow: An Auto Scaling group has an associated load balancer, but the Elastic Load Balancing health check is not enabled.<br>Yellow: An Auto Scaling group does not have an associated load balancer, but the Elastic Load Balancing health check is enabled.<br><br><b>Recommended Action</b><br>If the Auto Scaling group has an associated load balancer, but the Elastic Load Balancing health check is not enabled, see <a href="http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/as-add-elb-healthcheck.html" target="_blank">Add an Elastic Load Balancing Health Check to your Auto Scaling Group</a>.<br>If the Elastic Load Balancing health check is enabled, but no load balancer is associated with the Auto Scaling group, see <a href="http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/as-register-lbs-with-asg.html" target="_blank">Set Up an Auto-Scaled and Load-Balanced Application</a>.<br><br><b>Additional Resources</b><br><a href="http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/WhatIsAutoScaling.html" target="_blank">Auto Scaling Developer Guide</a>')
,ROW( 'BueAdJ7NrP', 'en', 'Amazon S3 Bucket Logging', 'Checks the logging configuration of Amazon Simple Storage Service (Amazon S3) buckets. When server access logging is enabled, detailed access logs are delivered hourly to a bucket that you choose. An access log record contains details about each request, such as the request type, the resources specified in the request, and the time and date the request was processed. By default, bucket logging is not enabled; you should enable logging if you want to perform security audits or learn more about users and usage patterns.<br /><br/>When logging is initially enabled, the configuration is automatically validated; however, future modifications can result in logging failures. This check examines explicit Amazon S3 bucket permissions, but it does not examine associated bucket policies that might override the bucket permissions.<br/><br /><b>Alert Criteria</b><br />Yellow: The bucket does not have server access logging enabled.<br/>Yellow: The target bucket permissions do not include the root account, so Trusted Advisor cannot check it.<br/>Red: The target bucket does not exist.<br />Red: The target bucket and the source bucket have different owners.<br />Red: The log deliverer does not have write permissions for the target bucket.<br /><br /><b>Recommended Action</b><br />Enable bucket logging for most buckets. See <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/enable-logging-console.html" target="_blank">Enabling Logging Using the Console</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/enable-logging-programming.html" target="_blank">Enabling Logging Programmatically</a>. <br/>If the target bucket permissions do not include the root account and you want Trusted Advisor to check the logging status, add the root account as a grantee. See <a href="https://docs.aws.amazon.com/AmazonS3/latest/UG/EditingBucketPermissions.html" target="_blank">Editing Bucket Permissions</a>.<br/>If the target bucket does not exist, select an existing bucket as a target or create a new one and select it. See <a href="https://docs.aws.amazon.com/AmazonS3/latest/UG/ManagingBucketLogging.html" target="_blank">Managing Bucket Logging</a>.<br/>If the target and source have different owners, change the target bucket to one that has the same owner as the source bucket. See <a href="https://docs.aws.amazon.com/AmazonS3/latest/UG/ManagingBucketLogging.html" target="_blank">Managing Bucket Logging</a>.<br/>If the log deliverer does not have write permissions for the target (Write not enabled), grant Upload/Delete permissions to the Log Delivery group. See <a href="https://docs.aws.amazon.com/AmazonS3/latest/UG/EditingBucketPermissions.html" target="_blank">Editing Bucket Permissions</a>.<br /><br /><b>Additional Resources</b><br /><a href="https://docs.aws.amazon.com/AmazonS3/latest/UG/BucketOperations.html" target="_blank">Working with Buckets</a><br/><a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerLogs.html" target="_blank">Server Access Logging</a><br/><a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/LogFormat.html" target="_blank">Server Access Log Format</a><br/><a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/deleting-log-files-lifecycle.html" target="_blank">Deleting Log Files</a>')
,ROW( 'PPkZrjsH2q', 'en', 'Amazon EBS Provisioned IOPS (SSD) Volume Attachment Configuration', 'Checks for Provisioned IOPS (SSD) volumes that are attached to an Amazon EBS-optimizable Amazon Elastic Compute Cloud (Amazon EC2) instance that is not EBS-optimized. Provisioned IOPS (SSD) volumes in the Amazon Elastic Block Store (Amazon EBS) are designed to deliver the expected performance only when they are attached to an EBS-optimized instance.<br><br><b>Alert Criteria</b><br>Yellow: An Amazon EC2 instance that can be EBS-optimized has an attached Provisioned IOPS (SSD) volume but the instance is not EBS-optimized.<br><br><b>Recommended Action</b><br>Create a new instance that is EBS-optimized, detach the volume, and reattach the volume to your new instance. For more information, see <a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html" target="_blank">Amazon EBS-Optimized Instances</a> and <a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-attaching-volume.html" target="_blank">Attaching an Amazon EBS Volume to an Instance</a>.<br><br><b>Additional Resources</b><br><a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html" target="_blank">Amazon EBS Volume Types</a><br><a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSPerformance.html" target="_blank">Amazon EBS Volume Performance</a>')
,ROW( 'tfg86AVHAZ', 'en', 'Large Number of Rules in an EC2 Security Group', 'Checks each Amazon Elastic Compute Cloud (EC2) security group for an excessive number of rules. If a security group has a large number of rules, performance can be degraded.<br>For more information, see <a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html" target="_blank">Amazon EC2 Security Groups</a>.<br><br><b>Alert Criteria</b><br>Yellow: An Amazon EC2-VPC security group has more than 50 rules.<br>Yellow: An Amazon EC2-Classic security group has more than 100 rules.<br><br><b>Recommended Action</b><br>Reduce the number of rules in a security group by deleting unnecessary or overlapping rules. For more information, see <a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html#deleting-security-group-rule" target="_blank">Deleting Rules from a Security Group</a>.<br><br><b>Additional Resources</b><br><a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html#concepts-security" target="_blank">Amazon EC2 Security Groups</a>')
,ROW( 'j3DFqYTe29', 'en', 'Large Number of EC2 Security Group Rules Applied to an Instance', 'Checks for Amazon Elastic Compute Cloud (EC2) instances that have a large number of security group rules. Performance can be degraded if an instance has a large number of rules.<br><br><b>Alert Criteria</b><br>Yellow: An Amazon EC2-VPC instance has more than 50 security group rules.<br>Yellow: An Amazon EC2-Classic instance has more than 100 security group rules.<br><br><b>Recommended Action</b><br>Reduce the number of rules associated with an instance by deleting unnecessary or overlapping rules. For more information, see <a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html#deleting-security-group-rule" target="_blank">Deleting Rules from a Security Group</a>.<br><br><b>Additional Resources</b><br><a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html#concepts-security" target="_blank">Amazon EC2 Security Groups</a>')
,ROW( 'Ti39halfu8', 'en', 'Amazon RDS Idle DB Instances', 'Checks the configuration of your Amazon Relational Database Service (Amazon RDS) for any DB instances that appear to be idle. If a DB instance has not had a connection for a prolonged period of time, you can delete the instance to reduce costs. If persistent storage is needed for data on the instance, you can use lower-cost options such as taking and retaining a DB snapshot. Manually created DB snapshots are retained until you delete them. Data for Amazon RDS instances created in the Asia Pacific (Seoul) region (sa-east-1) is not available. We are working to fix this issue as soon as possible.<br> <br> <b>Alert Criteria</b><br> Yellow: An active DB instance has not had a connection in the last 7 days.<br> <br> <b>Recommended Action</b><br> Consider taking a snapshot of the idle DB instance and then either stopping it or deleting it. Stopping the DB instance removes some of the costs for it, but does not remove storage costs. A stopped instance keeps all automated backups based upon the configured retention period. Stopping a DB instance usually incurs additional costs when compared to deleting the instance and then retaining only the final snapshot. See <href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_StopInstance.html" an Amazon RDS DB Instance Temporarily</a> and <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html" target="_blank">Deleting a DB Instance with a Final Snapshot</a>.<br> <br> <b>Additional Resources</b><br> <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_CommonTasks.BackupRestore.html" target="_blank">Back Up and Restore</a>')
,ROW( 'B913Ef6fb4', 'en', 'Amazon Route 53 Alias Resource Record Sets', 'Checks for resource record sets that can be changed to alias resource record sets to improve performance and save money. An alias resource record set routes DNS queries to an AWS resource (for example, an Elastic Load Balancing load balancer or an Amazon S3 bucket) or to another Route 53 resource record set. When you use alias resource record sets, Route 53 routes your DNS queries to AWS resources free of charge. Hosted zones created by AWS services won''t appear in your check results.<br><br><b>Alert Criteria</b><br>Yellow: A resource record set is a CNAME to an Amazon S3 website.<br>Yellow: A resource record set is a CNAME to an Amazon CloudFront distribution.<br>Yellow: A resource record set is a CNAME to an Elastic Load Balancing load balancer.<br><br><b>Recommended Action</b><br>Replace the listed CNAME resource record sets with alias resource record sets; see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/CreatingAliasRRSets.html" target="_blank">Choosing Between Alias and Non-Alias Resource Record Sets</a>. You also need to change the record type from CNAME to A or AAAA, depending on the AWS resource; see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/resource-record-sets-values.html" target="_blank">Values that You Specify When You Create or Edit Amazon Route 53 Resource Record Sets</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-to-aws-resources.html" target="_blank">Routing Queries to AWS Resources</a>')
,ROW( 'cF171Db240', 'en', 'Amazon Route 53 Name Server Delegations', 'Checks for Amazon Route 53 hosted zones for which your domain registrar or DNS is not using the correct Route 53 name servers. When you create a hosted zone, Route 53 assigns a delegation set of four name servers. The names of these servers are ns-###.awsdns-##.com, .net, .org, and .co.uk, where ### and ## typically represent different numbers. Before Route 53 can route DNS queries for your domain, you must update your registrar''s name server configuration to remove the name servers that the registrar assigned and add all four name servers in the Route 53 delegation set. For maximum availability, you must add all four Route 53 name servers. Hosted zones created by AWS services won''t appear in your check results.<br/><br/><b>Alert Criteria</b><br/>Yellow: A hosted zone for which the registrar for your domain does not use all four of the Route 53 name servers in the delegation set.<br/><br/><b>Recommended Action</b><br/>Add or update name server records with your registrar or with the current DNS service for your domain to include all four of the name servers in your Route 53 delegation set. To find these values, see <a href="http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/GetInfoAboutHostedZone.html" target="_blank">Getting the Name Servers for a Hosted Zone</a>. For information about adding or updating name server records, see <a href="http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/creating-migrating.html" target="_blank">Creating and Migrating Domains and Subdomains to Amazon Route 53</a>.<br/><br/><b>Additional Resources</b><br/><a href="http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/AboutHZWorkingWith.html" target="_blank">Working with Hosted Zones</a> <br/>')
,ROW( 'C056F80cR3', 'en', 'Amazon Route 53 High TTL Resource Record Sets', 'Checks for resource record sets that can benefit from having a lower time-to-live (TTL) value. TTL is the number of seconds that a resource record set is cached by DNS resolvers. When you specify a long TTL, DNS resolvers take longer to request updated DNS records, which can cause unnecessary delay in rerouting traffic (for example, when DNS Failover detects and responds to a failure of one of your endpoints). Hosted zones created by AWS services won''t appear in your check results.<br><br><b>Alert Criteria</b><br>Yellow: A resource record set whose routing policy is Failover has a TTL greater than 60 seconds.<br>Yellow: A resource record set with an associated health check has a TTL greater than 60 seconds.<br><br><b>Recommended Action</b><br>Enter a TTL value of 60 seconds for the listed resource record sets. For more information, see <a href="http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/rrsets-working-with.html" target="_blank">Working with Resource Record Sets</a>.<br><br><b>Additional Resources</b><br><a href="http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.html" target="_blank">Amazon Route 53 Health Checks and DNS Failover</a>')
,ROW( 'k3J2hns32g', 'en', 'Overutilized Amazon EBS Magnetic Volumes', 'Checks for Amazon Elastic Block Store (EBS) Magnetic volumes that are potentially overutilized and might benefit from a more efficient configuration. A Magnetic volume is designed for applications with moderate or bursty I/O requirements, and the IOPS rate is not guaranteed. It delivers approximately 100 IOPS on average, with a best-effort ability to burst to hundreds of IOPS. For consistently higher IOPS, you can use a Provisioned IOPS (SSD) volume. For bursty IOPS, you can use a General Purpose (SSD) volume. For more information, see <a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html" target="_blank">Amazon EBS Volume Types</a>.<br /><br />For a list of instance types that support EBS-optimized behavior, see <a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html" target="_blank">Amazon EBS-Optimized Instances</a>.<br /><br />To get daily utilization metrics, download the report for this check. The detailed report shows a column for each of the last 14 days. If there is no active EBS volume, the cell is empty. If there is insufficient data to make a reliable measurement, the cell contains "N/A". If there is sufficient data, the cell contains the daily median and the percentage of the variance in relation to the median (for example, "256 / 20%").<br /><br /><b>Alert Criteria</b><br />Yellow: An Amazon EBS Magnetic volume is attached to an instance that can be EBS-optimized or is part of a cluster compute network with a daily median of more than 95 IOPS, and varies by less than 10% of the median value for at least 7 of the past 14 days.<br /><br /><b>Recommended Action</b><br />For consistently higher IOPS, you can use a Provisioned IOPS (SSD) volume. For bursty IOPS, you can use a General Purpose (SSD) volume. For more information, see <a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html" target="_blank">Amazon EBS Volume Types</a>.<br /><br /><b>Additional Resources</b><br /><a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AmazonEBS.html" target="_blank">Amazon Elastic Block Store (Amazon EBS)</a>')
,ROW( '796d6f3D83', 'en', 'CloudFront Content Delivery Optimization', 'Checks for cases where data transfer from Amazon Simple Storage Service (Amazon S3) buckets could be accelerated by using Amazon CloudFront, the AWS global content delivery service. When you configure CloudFront to deliver your content, requests for your content are automatically routed to the nearest edge location where content is cached, so it can be delivered to your users with the best possible performance. A high ratio of data transferred out to the data stored in the bucket indicates that you could benefit from using Amazon CloudFront to deliver the data. <br />To estimate the retrieval activity of users, only data transferred by using a GET request is counted for this check. In addition, the transfer activity from the last 24 hours is not included. <br /><br /><b>Alert Criteria</b><br />Yellow: The amount of data transferred out of the bucket to your users by GET requests in the 30 days preceding the check is at least 25 times greater than the average amount of data stored in the bucket.<br/>Red: The amount of data transferred out of the bucket to your users by GET requests in the 30 days preceding the check is at least 10 TB and at least 25 times greater than the average amount of data stored in the bucket.<br /><br /><b>Recommended Action</b><br />Consider using CloudFront for better performance; see <a href="http://aws.amazon.com/cloudfront/details" target="_blank">Amazon CloudFront Product Details</a>. <br/>If the data transferred is 10 TB per month or more, see <a href="http://aws.amazon.com/cloudfront/pricing" target="_blank">Amazon CloudFront Pricing</a> to explore possible cost savings.<br /><br /><b>Additional Resources</b><br /><a href="http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Introduction.html" target="_blank">Amazon CloudFront Developer Guide</a><br/><a href="http://aws.amazon.com/solutions/case-studies/pbs/" target=_blank">AWS Case Study: PBS</a>')
,ROW( '51fC20e7I2', 'en', 'Amazon Route 53 Latency Resource Record Sets', 'Checks for Amazon Route 53 latency record sets that are configured inefficiently. To allow Amazon Route 53 to route queries to the region with the lowest network latency, you should create latency resource record sets for a particular domain name (such as example.com) in different regions. If you create only one latency resource record set for a domain name, all queries are routed to one region, and you pay extra for latency-based routing without getting the benefits. Hosted zones created by AWS services won''t appear in your check results.<br><br><b>Alert Criteria</b><br>Yellow: Only one latency resource record set is configured for a particular domain name.<br><br><b>Recommended Action</b><br>If you have resources in multiple regions, be sure to define a latency resource record set for each region; see <a href="http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-policy.html#routing-policy-latency" target="_blank">Latency-Based Routing</a>.<br>If you have resources in only one region, consider creating resources in more than one region and define latency resource record sets for each; see <a href="http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-policy.html#routing-policy-latency" target="_blank">Latency-Based Routing</a>.<br>If you don''t want to use multiple regions, you should use a simple resource record set; see <a href="http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/rrsets-working-with.html" target="_blank">Working with Resource Record Sets</a>.<br><br><b>Additional Resources</b><br><a href="http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/Welcome.html" target="_blank">Amazon Route 53 Developer Guide</a><br><a href="http://aws.amazon.com/route53/pricing/" target="_blank">Amazon Route 53 Pricing</a>')
,ROW( 'c9D319e7sG', 'en', 'Amazon Route 53 MX Resource Record Sets and Sender Policy Framework', 'For each MX resource record set, checks for a TXT resource record set that contains a corresponding SPF value. The SPF (Sender Policy Framework) value specifies the servers that are authorized to send email for your domain. This helps reduce spam by detecting and stopping email address spoofing. (Resource record sets that use the experimental SPF type are no longer recommended.) Hosted zones created by AWS services won''t appear in your check results.<br/><br/><b>Alert Criteria</b><br/>Yellow: An MX resource record set does not have a TXT resource record set that contains a corresponding SPF value.<br/><br/><b>Recommended Action</b><br/>For each MX resource record set, create a TXT resource record set that contains an SPF value; see <a href="http://www.open-spf.org/SPF_Record_Syntax" target="_blank">Sender Policy Framework: SPF Record Syntax</a> and <a href="http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/RRSchanges_console.html" target="_blank">Creating Resource Record Sets By Using the Amazon Route 53 Console</a>.<br/><br/><b>Additional Information</b><br/><a href="http://en.wikipedia.org/wiki/Sender_Policy_Framework" target="_blank">Sender Policy Framework</a> (Wikipedia)<br/><a href="http://en.wikipedia.org/wiki/MX_record" target="_blank">MX record</a> (Wikipedia)')
,ROW( 'b73EEdD790', 'en', 'Amazon Route 53 Failover Resource Record Sets', 'Checks for Amazon Route 53 failover resource record sets that are misconfigured. When Amazon Route 53 health checks determine that the primary resource is unhealthy, Amazon Route 53 responds to queries with a secondary, backup resource record set. You must create correctly configured primary and secondary resource record sets for failover to work. Hosted zones created by AWS services won''t appear in your check results.<br/><br/><b>Alert Criteria</b><br/>Yellow: A primary failover resource record set does not have a corresponding secondary resource record set.<br/>Yellow: A secondary failover resource record set does not have a corresponding primary resource record set.<br/>Yellow: Primary and secondary resource record sets that have the same name are associated with the same health check.<br/><br/><b>Recommended Action</b><br/>If a failover resource set is missing, create the corresponding resource record set; see <a href="http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/creating-failover-rrsets.html" target="_blank">Creating Failover Resource Record Sets</a>.<br/>If your resource record sets are associated with the same health check, create separate health checks for each one; see <a href="http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/health-checks-creating-deleting.html" target="_blank">Creating, Updating, and Deleting Health Checks</a>.<br/><br/><b>Additional Information</b><br/><a href="http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.html" target="_blank">Amazon Route 53 Health Checks and DNS Failover</a>')
,ROW( 'Cb877eB72b', 'en', 'Amazon Route 53 Deleted Health Checks', 'Checks for resource record sets that are associated with health checks that have been deleted. Amazon Route 53 does not prevent you from deleting a health check that is associated with one or more resource record sets. If you delete a health check without updating the associated resource record sets, the routing of DNS queries for your DNS failover configuration will not work as intended. Hosted zones created by AWS services won''t appear in your check results.<br/><br/><b>Alert Criteria</b><br/>Yellow: A resource record set is associated with a health check that has been deleted.<br/><br/><b>Recommended Action</b><br/>Create a new health check and associate it with the resource record set; see <a href="http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/health-checks-creating-deleting.html" target="_blank">Creating, Updating, and Deleting Health Checks</a> and <a href="http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/health-checks-adding-to-rrsets.html" target="_blank">Adding Health Checks to Resource Record Sets</a>.<br/><br/><b>Additional Information</b><br/><a href="http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.html" target="_blank">Amazon Route 53 Health Checks and DNS Failover</a><br/><a href="http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-simple-configs.html" target="_blank">How Health Checks Work in Simple Amazon Route 53 Configurations</a>')
,ROW( 'vjafUGJ9H0', 'en', 'AWS CloudTrail Logging', 'Checks for your use of AWS CloudTrail. CloudTrail provides increased visibility into activity in your AWS account by recording information about AWS API calls made on the account. You can use these logs to determine, for example, what actions a particular user has taken during a specified time period or which users have taken actions on a particular resource during a specified time period. Because CloudTrail delivers log files to an Amazon Simple Storage Service (Amazon S3) bucket, CloudTrail must have write permissions for the bucket. If a trail applies to all regions (the default when creating a new trail), the trail appears multiple times in the Trusted Advisor report.<br /><br /><b>Alert Criteria</b><br/>Yellow: CloudTrail reports log delivery errors for a trail.<br/>Red: A trail has not been created for a region, or logging is turned off for a trail.<br/><br/><b>Recommended Action</b><br/>To create a trail and start logging from the console, go to the <a href="https://console.aws.amazon.com/cloudtrail/home" target="_blank">AWS CloudTrail console</a>. <br/>To start logging, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/create_trail_using_cli.html#stopstartclil" target="_blank">Stopping and Starting Logging for a Trail</a>. <br/>If you receive log delivery errors, check to make sure that the bucket exists and that the necessary policy is attached to the bucket; see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/create_trail_bucket_policy.html" target="_blank">Amazon S3 Bucket Policy</a>.<br/><br/><b>Additional Resources</b><br /><a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/whatisawscloudtrail.html" target="_blank">AWS CloudTrail User Guide</a><br/><a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/what_is_cloud_trail_supported_regions.html" target="_blank">Supported Regions</a><br/><a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/what_is_cloud_trail_supported_services.html" target="_blank">Supported Services</a>')
,ROW( 'a2sEc6ILx', 'en', 'ELB Listener Security', 'Checks for load balancers with listeners that do not use recommended security configurations for encrypted communication. AWS recommends using a secure protocol (HTTPS or SSL), up-to-date security policies, and ciphers and protocols that are secure.<br/>When you use a secure protocol for a front-end connection (client to load balancer), the requests are encrypted between your clients and the load balancer, which is more secure.<br/>Elastic Load Balancing provides predefined security policies with ciphers and protocols that adhere to AWS security best practices. New versions of predefined policies are released as new configurations become available. <br/><br/><b>Alert Criteria</b><br/>Yellow: A load balancer has no listener that uses a secure protocol (HTTPS or SSL). <br/>Yellow: A load balancer listener uses an outdated predefined SSL security policy. <br/>Yellow: A load balancer listener uses a cipher or protocol that is not recommended. <br/>Red: A load balancer listener uses an insecure cipher or protocol.<br/><br/><b>Recommended Action</b><ul><li>If the traffic to your load balancer must be secure, use either the HTTPS or the SSL protocol for the front-end connection.</li><li>Upgrade your load balancer to the latest version of the predefined SSL security policy.</li> <li>Use only the recommended ciphers and protocols.</li> </ul>For more information, see <a target="_blank" href="https://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/elb-listener-config.html">Listener Configurations for Elastic Load Balancing</a>.<br/><br/><b>Additional Resources</b><br/><a target="_blank" href="https://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/using-elb-listenerconfig-quickref.html">Listener Configurations Quick Reference</a><br/><a target="_blank" href="https://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/ssl-config-update.html">Update SSL Negotiation Configuration of Your Load Balancer</a><br/><a target="_blank" href="https://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/elb-ssl-security-policy.html">SSL Negotiation Configurations for Elastic Load Balancing</a><br/><a target="_blank" href="https://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/elb-security-policy-table.html">SSL Security Policy Table</a><br/>')
,ROW( 'xSqX82fQu', 'en', 'ELB Security Groups', 'Checks for load balancers configured with a missing security group or a security group that allows access to ports that are not configured for the load balancer. If a security group associated with a load balancer is deleted, the load balancer does not work as expected. If a security group allows access to ports that are not configured for the load balancer, the risk of loss of data or malicious attacks increases. <br/><br/><b>Alert Criteria</b><br/>Yellow: The inbound rules of an Amazon VPC security group associated with a load balancer allow access to ports that are not defined in the load balancer''s listener configuration. <br/>Red: A security group associated with a load balancer does not exist. <br/><br/><b>Recommended Action</b><br/>Configure the security group rules to restrict access to only those ports and protocols that are defined in the load balancer listener configuration, plus the ICMP protocol to support Path MTU Discovery. See <a target="_blank" href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-listener-config.html">Listeners for Your Classic Load Balancer</a> and <a target="_blank" href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-security-groups.html#elb-vpc-security-groups">Security Groups for Load Balancers in a VPC</a>.<br/>If a security group is missing, apply a new security group to the load balancer. Create security group rules that restrict access to only those ports and protocols that are defined in the load balancer listener configuration. See <a target="_blank" href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-security-groups.html#elb-vpc-security-groups">Security Groups for Load Balancers in a VPC</a>. <br/><br/><b>Additional Resources</b><br/><a target="_blank" href="https://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/what-is-load-balancing.html">Elastic Load Balancing User Guide</a> <br/><a target="_blank" href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-configure-load-balancer.html">Configure Your Classic Load Balancer</a>')
,ROW( 'xdeXZKIUy', 'en', 'ELB Cross-Zone Load Balancing', 'With Cross-zone load balancing turned off, there is a risk of service unavailability due to uneven distribution of traffic or backend overloading. This problem can occur when clients incorrectly cache DNS information, or when there are an unequal number of instances in each Availability Zone (for example, if you have taken down some instances for maintenance).<br/><br/><b>Alert Criteria</b><br/>Yellow: Cross-zone load balancing is not enabled for a load balancer.<br/><br/><b>Recommended Action</b><br/>Confirm that the Amazon EC2 instances registered with the load balancer are launched in multiple Availability Zones, and then enable cross-zone load balancing for the load balancer. For more information, see <a target="_blank" href="https://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/TerminologyandKeyConcepts.html#AZ-Region">Availability Zones and Regions</a> and <a target="_blank" href="https://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/enable-disable-crosszone-lb.html">Enable or Disable Cross-Zone Load Balancing for Your Load Balancer</a>.<br/><br/><b>Additional Resources</b><br/><a target="_blank" href="https://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/TerminologyandKeyConcepts.html#request-routing">Request Routing</a><br/><a target="_blank" href="https://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/TerminologyandKeyConcepts.html">Elastic Load Balancing Concepts</a>')
,ROW( '7qGXsKIUw', 'en', 'ELB Connection Draining', 'Checks for load balancers that do not have connection draining enabled. When connection draining is not enabled and you remove (deregister) an Amazon EC2 instance from a load balancer, the load balancer stops routing traffic to that instance and closes the connection. When connection draining is enabled, the load balancer stops sending new requests to the deregistered instance but keeps the connection open to serve active requests.<br/><br/><b>Alert Criteria</b><br/> Yellow: Connection draining is not enabled for a load balancer.<br/><br/> <b>Recommended Action</b><br/>Enable connection draining for the load balancer. For more information, see <a target="_blank" href="http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/TerminologyandKeyConcepts.html#conn-drain">Connection Draining</a> and <a target="_blank" href="http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/config-conn-drain.html">Enable or Disable Connection Draining for Your Load Balancer</a>.<br/><br/><b>Additional Resources</b><br/><a target="_blank" href="http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/TerminologyandKeyConcepts.html">Elastic Load Balancing Concepts</a>')
,ROW( 'N415c450f2', 'en', 'CloudFront Header Forwarding and Cache Hit Ratio', 'Checks the HTTP request headers that CloudFront currently receives from the client and forwards to your origin server. Some headers, such as Date or User-Agent, significantly reduce the cache hit ratio (the proportion of requests that are served from a CloudFront edge cache). This increases the load on your origin and reduces performance because CloudFront must forward more requests to your origin.<br><br><b>Alert Criteria</b><br>Yellow: One or more request headers that CloudFront forwards to your origin might significantly reduce your cache hit ratio.<br><br><b>Recommended Action</b><br>Consider whether the request headers provide enough benefit to justify the negative effect on the cache hit ratio. If your origin returns the same object regardless of the value of a given header, we recommend that you don''t configure CloudFront to forward that header to the origin. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/header-caching.html" target="_blank">Configuring CloudFront to Cache Objects Based on Request Headers</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cache-hit-ratio.html#cache-hit-ratio-request-headers" target="_blank">Increasing the Proportion of Requests that Are Served from CloudFront Edge Caches</a><br><a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cache-statistics.html" target="_blank">CloudFront Cache Statistics Reports</a><br><a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/RequestAndResponseBehaviorCustomOrigin.html#request-custom-headers-behavior" target="_blank">HTTP Request Headers and CloudFront Behavior</a>')
,ROW( 'N425c450f2', 'en', 'CloudFront Custom SSL Certificates in the IAM Certificate Store', 'Checks the SSL certificates for CloudFront alternate domain names in the IAM certificate store and alerts you if the certificate is expired, will soon expire, uses outdated encryption, or is not configured correctly for the distribution. When a custom certificate for an alternate domain name expires, browsers that display your CloudFront content might show a warning message about the security of your website. Certificates that are encrypted by using the SHA-1 hashing algorithm are being deprecated by web browsers such as Chrome and Firefox. If a certificate doesn''t contain any domain names that match either Origin Domain Name or the domain name in the Host header of viewer requests, CloudFront returns an HTTP status code 502 (bad gateway) to the user. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/SecureConnections.html#CNAMEsAndHTTPS" target="_blank">Using Alternate Domain Names and HTTPS</a>.<br><br><b>Alert Criteria</b><br>Red: A custom SSL certificate is expired.<br>Yellow: A custom SSL certificate expires in the next seven days.<br>Yellow: A custom SSL certificate was encrypted by using the SHA-1 hashing algorithm.<br>Yellow: One or more of the alternate domain names in the distribution don''t appear either in the Common Name field or the Subject Alternative Names field of the custom SSL certificate.<br><br><b>Recommended Action</b><br>Renew an expired certificate or a certificate that is about to expire.<br>Replace a certificate that was encrypted by using the SHA-1 hashing algorithm with a certificate that is encrypted by using the SHA-256 hashing algorithm.<br>Replace the certificate with a certificate that contains the applicable values in the Common Name or Subject Alternative Domain Names fields.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/SecureConnections.html" target="_blank">Using an HTTPS Connection to Access Your Objects</a>')
,ROW( 'N430c450f2', 'en', 'CloudFront SSL Certificate on the Origin Server', 'Checks your origin server for SSL certificates that are expired, about to expire, missing, or that use outdated encryption. If a certificate is expired, CloudFront responds to requests for your content with HTTP status code 502, Bad Gateway. Certificates that were encrypted by using the SHA-1 hashing algorithm are being deprecated by web browsers such as Chrome and Firefox. Depending on the number of SSL certificates that you have associated with your CloudFront distributions, this check might add a few cents per month to your bill with your web hosting provider, for example, AWS if you''re using EC2 or ELB as the origin for your CloudFront distribution. This check does not validate your origin certificate chain or certificate authorities; you can check these in your CloudFront configuration. <br><br><b>Alert Criteria</b><br>Red: An SSL certificate on your origin has expired or is missing.<br>Yellow: An SSL certificate on your origin expires in the next thirty days.<br>Yellow: An SSL certificate on your origin was encrypted by using the SHA-1 hashing algorithm.<br>Yellow: An SSL certificate on your origin can''t be located. The connection might have failed due to timeout, or other HTTPS connection problems.<br><br><b>Recommended Action</b><br>Renew the certificate on your origin if it has expired or is about to expire.<br>Add a certificate if one does not exist.<br>Replace a certificate that was encrypted by using the SHA-1 hashing algorithm with a certificate that is encrypted by using the SHA-256 hashing algorithm.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/SecureConnections.html#CNAMEsAndHTTPS" target="_blank">Using Alternate Domain Names and HTTPS</a>')
,ROW( 'Bh2xRR2FGH', 'en', 'Amazon EC2 to EBS Throughput Optimization', 'Checks for Amazon EBS volumes whose performance might be affected by the maximum throughput capability of the Amazon EC2 instance they are attached to.
To optimize performance, you should ensure that the maximum throughput of an EC2 instance is greater than the aggregate maximum throughput of the attached EBS volumes.
This check computes the total EBS volume throughput for each five-minute period in the preceding day (UTC) for each EBS-optimized instance and alerts you if usage in more than half of those periods was greater than 95% of the maximum throughput of the EC2 instance.<br/><br/>
<b>Alert Criteria</b><br/> Yellow: In the preceding day (UTC), the aggregate throughput (megabytes/sec) of the EBS volumes attached to the EC2 instance exceeded 95% of the published throughput between the instance and the EBS volumes more than 50% of time.<br/><br/>
<b>Recommended Action</b><br/> Compare the maximum throughput of your EBS volumes
(see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html" target="_blank">Amazon EBS Volume Types</a>)
with the maximum throughput of the EC2 instance they are attached to
(see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html#ebs-optimization-support" target="_blank">Instance Types That Support EBS Optimization</a>).
Consider attaching your volumes to an instance that supports higher throughput to EBS for optimal performance.<br/><br/>
<b>Additional Resources</b><br/><a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html" target="_blank">Amazon EBS Volume Types</a><br/>
<a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html" target="_blank">Amazon EBS-Optimized Instances</a><br/>
<a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-volume-status.html" target="_blank">Monitoring the Status of Your Volumes</a><br/>
<a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-attaching-volume.html" target="_blank">Attaching an Amazon EBS Volume to an Instance</a><br/>
<a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-detaching-volume.html" target="_blank">Detaching an Amazon EBS Volume from an Instance</a><br/>
<a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-deleting-volume.html" target="_blank">Deleting an Amazon EBS Volume</a> ')
,ROW( 'N420c450f2', 'en', 'CloudFront Alternate Domain Names', 'Checks Amazon CloudFront distributions for alternate domain names (CNAMES) that have incorrectly configured DNS settings. If a CloudFront distribution includes alternate domain names, the DNS configuration for the domains must route DNS queries to that distribution.<br/><br/>Note: This check assumes Amazon Route 53 DNS and Amazon CloudFront distribution are configured in the same AWS account. As such the Alert list may include resources otherwise working as expected due to DNS setting outsides of this AWS account.<br/><br/><b>Alert Criteria</b><br/>Yellow: A CloudFront distribution includes alternate domain names, but the DNS configuration is not correctly set up with a CNAME record or an Amazon Route 53 alias resource record.<br/>Yellow: A CloudFront distribution includes alternate domain names, but Trusted Advisor could not evaluate the DNS configuration because there were too many redirects.<br/>Yellow: A CloudFront distribution includes alternate domain names, but Trusted Advisor could not evaluate the DNS configuration for some other reason, most likely because of a timeout.<br/><br/><b>Recommended Action</b><br/>Update the DNS configuration to route DNS queries to the CloudFront distribution; see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html" target="_blank">Using Alternate Domain Names (CNAMEs)</a>. If you''re using Amazon Route 53 as your DNS service, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-to-cloudfront-distribution.html" target="_blank">Routing Traffic to an Amazon CloudFront Web Distribution by Using Your Domain Name</a>. If the check timed out, try refreshing the check.<br/><br/><b>Additional Resources</b><br/><a target="_blank" href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Introduction.html">Amazon CloudFront Developer Guide</a>')
,ROW( 'DqdJqYeRm5', 'en', 'IAM Access Key Rotation', 'Checks for active IAM access keys that have not been rotated in the last 90 days. When you rotate your access keys regularly, you reduce the chance that a compromised key could be used without your knowledge to access resources. For the purposes of this check, the last rotation date and time is when the access key was created or most recently activated. The access key number and date come from the <b>access_key_1_last_rotated</b> and <b>access_key_2_last_rotated</b> information in the most recent IAM credential report. Because the regeneration frequency of a credential report is restricted, refreshing this check might not reflect recent changes (for details, see <a target="_blank" href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_getting-report.html">Getting Credential Reports for Your AWS Account</a>).<br/>In order to create and rotate access keys, a user must have the appropriate permissions. For more information, see <a target="_blank" href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_delegate-permissions_examples.html#creds-policies-credentials">Allow Users to Manage Their Own Passwords, Access Keys, and SSH Keys</a>.<br/><br/><b>Alert Criteria</b><br/>Green: The access key is active and has been rotated in the last 90 days.<br/>Yellow: The access key is active and has been rotated in the last 2 years, but more than 90 days ago.<br/>Red: The access key is active and has not been rotated in the last 2 years.<br/><br/><b>Recommended Action</b><br/>Rotate access keys on a regular basis. See <a target="_blank" href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html#Using_RotateAccessKey">Rotating Access Keys</a> and <a target="_blank" href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html">Managing Access Keys for IAM Users</a>.<br/><br/><b>Additional Resources</b><br/><a target="_blank" href="https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html">IAM Best Practices</a><br/><a target="_blank" href="https://blogs.aws.amazon.com/security/post/Tx15CIT22V4J8RP/How-to-rotate-access-keys-for-IAM-users">How to rotate access keys for IAM users</a> (AWS blog)')
,ROW( '12Fnkpl8Y5', 'en', 'Exposed Access Keys', 'Checks popular code repositories for access keys that have been exposed to the public and for irregular Amazon Elastic Compute Cloud (Amazon EC2) usage that could be the result of a compromised access key. An access key consists of an access key ID and the corresponding secret access key. Exposed access keys pose a security risk to your account and other users, could lead to excessive charges from unauthorized activity or abuse, and violate the <a target="_blank" href="https://aws.amazon.com/agreement/">AWS Customer Agreement</a>. If your access key is exposed, take immediate action to secure your account. To protect your account from excessive charges, AWS temporarily limits your ability to create certain AWS resources when exposed access keys are identified. This does not make your account secure; it only partially limits the unauthorized usage for which you could be charged. Note: This check does not guarantee the identification of exposed access keys or compromised EC2 instances. You are ultimately responsible for the safety and security of your access keys and AWS resources. <br/><br/>If a deadline is shown for an access key, AWS may suspend your AWS account if the unauthorized usage is not stopped by that date. If you believe an alert is in error, <a href="https://console.aws.amazon.com/support/home?#/case/create?issueType=customer-service&serviceCode=customer-account&categoryCode=security" target="_blank">contact AWS Support</a>.<br/><br/>The information displayed in Trusted Advisor may not reflect the most recent state of your account. No exposed access keys are marked as resolved until all exposed access keys on the account have been resolved. This data synchronization can take up to one week.<br/><br/><b>Alert Criteria</b><br/>Red: Potentially compromised - AWS has identified an access key ID and corresponding secret access key that have been exposed on the Internet and may have been compromised (used).<br/>Red: Exposed - AWS has identified an access key ID and corresponding secret access key that have been exposed on the Internet.<br/>Red: Suspected - Irregular Amazon EC2 usage indicates that an access key may have been compromised, but it has not been identified as exposed on the Internet.<br/><br/><b>Recommended Action</b><br/>Delete the affected access key as soon as possible. If the key is associated with an IAM user, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/ManagingCredentials.html" target="_blank">Managing Access Keys for IAM Users</a>.<br/><br/>Check your account for unauthorized usage. Log in to the <a href="https://console.aws.amazon.com/" target="_blank">AWS Management Console</a> and check each service console for suspicious resources. Pay special attention to running Amazon EC2 instances, Spot Instance requests, access keys, and IAM users. You can also check overall usage on the <a href="https://console.aws.amazon.com/billing/home#/" target="_blank">Billing & Cost Management Dashboard</a>.<br/><br/><b>Additional Resources</b><br/><a href="https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html" target="_blank">Best Practices for Managing AWS Access Keys</a><br/><a href="https://docs.aws.amazon.com/general/latest/gr/aws-security-audit-guide.html" target="_blank">AWS Security Audit Guidelines</a>')
,ROW( 'G31sQ1E9U', 'en', 'Underutilized Amazon Redshift Clusters', 'Checks your Amazon Redshift configuration for clusters that appear to be underutilized. If an Amazon Redshift cluster has not had a connection for a prolonged period of time or is using a low amount of CPU, you can use lower-cost options such as downsizing the cluster or shutting down the cluster and taking a final snapshot. Final snapshots are retained even after you delete your cluster.<br/><br/><b>Alert Criteria</b><br/>Yellow: A running cluster has not had a connection in the last 7 days.<br/>Yellow: A running cluster had less than 5% cluster-wide average CPU utilization for 99% of the last 7 days.<br/><br/><b>Recommended Action</b><br/>Consider shutting down the cluster and taking a final snapshot, or downsizing the cluster. See <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#rs-mgmt-shutdown-delete-cluster" target="_blank">Shutting Down and Deleting Clusters</a> and <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#cluster-resize-intro" target="_blank">Resizing a Cluster</a>.<br/><br/><b>Additional Resources</b><br/><a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/Welcome.html" target="_blank">Amazon CloudWatch Developer Guide</a>')
,ROW( '1e93e4c0b5', 'en', 'Amazon EC2 Reserved Instance Lease Expiration', 'Checks for Amazon EC2 Reserved Instances that are scheduled to expire within the next 30 days or have expired in the preceding 30 days. Reserved Instances do not renew automatically; you can continue using an EC2 instance covered by the reservation without interruption, but you will be charged On-Demand rates. New Reserved Instances can have the same parameters as the expired ones, or you can purchase Reserved Instances with different parameters.<br/>
The estimated monthly savings we show is the difference between the On-Demand and Reserved Instance rates for the same instance type.<br/><br/>
<b>Alert Criteria</b><br/>
Yellow: The Reserved Instance lease expires in less than 30 days.<br/>
Yellow: The Reserved Instance lease expired in the preceding 30 days.<br/><br/>
<b>Recommended Action</b><br/>
Consider purchasing a new Reserved Instance to replace the one that is nearing the end of its term. For more information, see <a href="https://aws.amazon.com/ec2/purchasing-options/reserved-instances/buyer/" target="_blank">How to Purchase Reserved Instances</a> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-concepts-buying.html" target="_blank">Buying Reserved Instances</a>.<br/><br/>
<b>Additional Resources</b><br/>
<a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts-on-demand-reserved-instances.html" target="_blank">Reserved Instances</a><br/>
<a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html" target="_blank">Instance Types</a>')
,ROW( 'R365s2Qddf', 'en', 'Amazon S3 Bucket Versioning', 'Checks for Amazon Simple Storage Service buckets that do not have versioning enabled, or have versioning suspended. When versioning is enabled, you can easily recover from both unintended user actions and application failures. Versioning allows you to preserve, retrieve, and restore any version of any object stored in a bucket. You can use lifecycle rules to manage all versions of your objects as well as their associated costs by automatically archiving objects to the Glacier storage class or removing them after a specified time period. You can also choose to require multi-factor authentication (MFA) for any object deletions or configuration changes to your buckets. <br/><br/>Versioning cannot be disabled after it has been enabled, but it can be suspended, which prevents new versions of objects from being created. Using versioning can increase your costs for Amazon S3, because you pay for storage of multiple versions of an object.<br/><br/><b>Alert Criteria</b><br/>Green: Versioning is enabled for the bucket.<br/>Yellow: Versioning is not enabled for the bucket.<br/>Yellow: Versioning is suspended for the bucket.<br/><br/><b>Recommended Action</b><br/>Enable bucket versioning on most buckets to prevent accidental deletion or overwriting. See <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/Versioning.html" target="_blank">Using Versioning</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/manage-versioning-examples.html" target="_blank">Enabling Versioning Programmatically</a>. <br/><br/>If bucket versioning is suspended, consider reenabling versioning. For information on working with objects in a versioning-suspended bucket, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/VersionSuspendedBehavior.html" target="_blank">Managing Objects in a Versioning-Suspended Bucket</a>.<br/><br/>When versioning is enabled or suspended, you can define lifecycle configuration rules to mark certain object versions as expired or to permanently remove unneeded object versions. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html" target="_blank">Object Lifecycle Management</a>. <br/><br/>MFA Delete requires additional authentication when the versioning status of the bucket is changed or when versions of an object are deleted. It requires the user to enter credentials and a code from an approved authentication device. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/Versioning.html#MultiFactorAuthenticationDelete" target="_blank">MFA Delete</a>.<br/><br/><b>Additional Resources</b><br/><a href="https://docs.aws.amazon.com/AmazonS3/latest/UG/BucketOperations.html" target="_blank">Working with Buckets</a>')
,ROW( '0t121N1Ty3', 'en', 'AWS Direct Connect Connection Redundancy', 'Checks for regions that have only one AWS Direct Connect connection. Connectivity to your AWS resources should have two Direct Connect connections configured at all times to provide redundancy in case a device is unavailable.<br/><b>Note:</b> Results for this check are automatically refreshed several times daily, and refresh requests are not allowed. It might take a few hours for changes to appear.<br/><br/><b>Alert Criteria</b><br/>Yellow: The region has only one Direct Connect connection.<br/><br/><b>Recommended Action</b><br/>Configure an additional Direct Connect connection in this region to protect against device unavailability. For more information, see <a target="_blank" href="https://docs.aws.amazon.com/directconnect/latest/UserGuide/getting_started.html">Configure Redundant Connections with AWS Direct Connect</a>. To protect against site unavailability and add location redundancy, configure the additional Direct Connect connection to a different Direct Connect location.<br/><br/><b>Additional Resources</b><br/><a target="_blank" href="https://docs.aws.amazon.com/directconnect/latest/UserGuide/getting_started.html">Getting Started with AWS Direct Connect</a><br/><a target="_blank" href="https://aws.amazon.com/directconnect/faqs/">AWS Direct Connect FAQs</a> ')
,ROW( '8M012Ph3U5', 'en', 'AWS Direct Connect Location Redundancy', 'Checks for regions with one or more AWS Direct Connect connections and only one AWS Direct Connect location. Connectivity to your AWS resources should have Direct Connect connections configured to different Direct Connect locations to provide redundancy in case a location is unavailable.<br/><b>Note:</b> Results for this check are automatically refreshed several times daily, and refresh requests are not allowed. It might take a few hours for changes to appear.<br/><br/><b>Alert Criteria</b><br/>Yellow: The Direct Connect connections in the region are not configured to different locations.<br/><br/><b>Recommended Action</b><br/>Configure a Direct Connect connection that uses a different Direct Connect location to protect against location unavailability. For more information, see <a target="_blank" href="https://docs.aws.amazon.com/directconnect/latest/UserGuide/getting_started.html">Getting Started with AWS Direct Connect</a>.<br/><br/><b>Additional Resources</b><br/><a target="_blank" href="https://docs.aws.amazon.com/directconnect/latest/UserGuide/getting_started.html">Getting Started with AWS Direct Connect</a><br/><a target="_blank" href="https://aws.amazon.com/directconnect/faqs/">AWS Direct Connect FAQs</a>')
,ROW( '4g3Nt5M1Th', 'en', 'AWS Direct Connect Virtual Interface Redundancy', 'Checks for virtual private gateways with Direct Connect virtual interfaces (VIFs) that are not configured on at least two Direct Connect connections. Connectivity to your virtual private gateway should have multiple virtual interfaces configured across multiple Direct Connect connections and locations to provide redundancy in case a device or location is unavailable. <br/><b>Note:</b> Results for this check are automatically refreshed several times daily, and refresh requests are not allowed. It might take a few hours for changes to appear.<br/><br/><b>Alert Criteria</b><br/>Yellow: A virtual private gateway has less than two virtual interfaces, or the interfaces are not configured to multiple Direct Connect connections. <br/><br/><b>Recommended Action</b><br/>Configure at least two virtual interfaces that are configured to two Direct Connect connections to protect against device or location unavailability. See <a target="_blank" href="https://docs.aws.amazon.com/directconnect/latest/UserGuide/getstarted.html#createvirtualinterface">Create a Virtual Interface.</a><br/><br/><b>Additional Resources</b><br/><a target="_blank" href="https://docs.aws.amazon.com/directconnect/latest/UserGuide/getting_started.html">Getting Started with AWS Direct Connect</a><br/><a target="_blank" href="https://aws.amazon.com/directconnect/faqs/">AWS Direct Connect FAQs</a> <br/><a target="_blank" href="https://docs.aws.amazon.com/directconnect/latest/UserGuide/WorkingWithVirtualInterfaces.html">Working With AWS Direct Connect Virtual Interfaces</a>')
,ROW( 'xuy7H1avtl', 'en', 'Amazon Aurora DB Instance Accessibility', 'Checks for cases where an Amazon Aurora DB cluster has both private and public instances. When your primary instance fails, a replica can be promoted to a primary instance. If that replica is private, users who have only public access would no longer be able to connect to the database after failover. It''s best practice for all the DB instances in a cluster to have the same accessibility.<br/><br/><b>Alert Criteria</b><br/>Yellow: The instances in an Aurora DB cluster have different accessibility (a mix of public and private).<br/><br/><b>Recommended Action</b><br/>Modify the <b>Publicly Accessible</b> setting of the instances in the DB cluster so that they are all either public or private. For details, see the instructions for MySQL instances at <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ModifyInstance.MySQL.html" target="_blank">Modifying a DB Instance Running the MySQL Database Engine</a>.<br/><br/><b>Additional Resources</b><br/><a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Aurora.Managing.html#Aurora.Managing.FaultTolerance" target="_blank">Fault Tolerance for an Aurora DB Cluster</a>')
,ROW( 'ePs02jT06w', 'en', 'Amazon EBS Public Snapshots', 'Checks the permission settings for your Amazon Elastic Block Store (Amazon EBS) volume snapshots and alerts you if any snapshots are marked as public. When you make a snapshot public, you give all AWS accounts and users access to all the data on the snapshot. If you want to share a snapshot with particular users or accounts, mark the snapshot as private, and then specify the user or accounts you want to share the snapshot data with. <b>Note</b>: Results for this check are automatically refreshed several times daily, and refresh requests are not allowed. It might take a few hours for changes to appear.<br/><br/>
<b>Alert Criteria</b><br/>
Red: The EBS volume snapshot is marked as public.<br/><br/>
<b>Recommended Action</b><br/>
Unless you are certain you want to share all the data in the snapshot with all AWS accounts and users, modify the permissions: mark the snapshot as private, and then specify the accounts that you want to give permissions to. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-modifying-snapshot-permissions.html" target="_blank">Sharing an Amazon EBS Snapshot</a>. Note: For temporary technical reasons, items in this check cannot be excluded from view in the Trusted Advisor console.<br/><br/>
<b>Additional Resources</b><br/>
<a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSSnapshots.html" target="_blank">Amazon EBS Snapshots</a>')
,ROW( 'rSs93HQwa1', 'en', 'Amazon RDS Public Snapshots', 'Checks the permission settings for your Amazon Relational Database Service (Amazon RDS) DB snapshots and alerts you if any snapshots are marked as public. When you make a snapshot public, you give all AWS accounts and users access to all the data on the snapshot. If you want to share a snapshot with particular users or accounts, mark the snapshot as private, and then specify the user or accounts you want to share the snapshot data with. <b>Note</b>: Results for this check are automatically refreshed several times daily, and refresh requests are not allowed. It might take a few hours for changes to appear.<br/><br/>
<b>Alert Criteria</b><br/>
Red: The RDS snapshot is marked as public.<br/><br/>
<b>Recommended Action</b><br/>
Unless you are certain you want to share all the data in the snapshot with all AWS accounts and users, modify the permissions: mark the snapshot as private, and then specify the accounts that you want to give permissions to. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ShareSnapshot.html" target="_blank">Sharing a DB Snapshot or DB Cluster Snapshot</a>. Note: For temporary technical reasons, items in this check cannot be excluded from view in the Trusted Advisor console.<br/><br/>
<b>Additional Resources</b><br/>
<a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_CommonTasks.BackupRestore.html" target="_blank">Backing Up and Restoring Amazon RDS DB Instances</a>')
,ROW( '0Xc6LMYG8P', 'en', 'EC2 On-Demand Instances', 'Checks for usage that is more than 80% of the EC2 On-Demand Instances Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html" target="_blank">EC2 Limits</a>')
,ROW( 'hJ7NN0l7J9', 'en', 'SES Daily Sending Quota', 'Checks for usage that is more than 80% of the SES Daily Sending Quota Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html" target="_blank">SES Limits</a>')
,ROW( 'tV7YY0l7J9', 'en', 'EBS Provisioned IOPS (SSD) Volume Aggregate IOPS', 'Checks for usage that is more than 80% of the EBS Provisioned IOPS (SSD) Volume Aggregate IOPS Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ebs" target="_blank">EBS Limits</a>')
,ROW( 'gI7MM0l7J9', 'en', 'EBS Provisioned IOPS SSD (io1) Volume Storage', 'Checks for usage that is more than 80% of the EBS Provisioned IOPS SSD (io1) Volume Storage Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ebs" target="_blank">EBS Limits</a>')
,ROW( 'eI7KK0l7J9', 'en', 'EBS Active Snapshots', 'Checks for usage that is more than 80% of the EBS Active Snapshots Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ebs" target="_blank">EBS Limits</a>')
,ROW( 'dH7RR0l6J9', 'en', 'EBS General Purpose SSD (gp2) Volume Storage', 'Checks for usage that is more than 80% of the EBS General Purpose SSD (gp2) Volume Storage Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ebs" target="_blank">EBS Limits</a>')
,ROW( 'cG7HH0l7J9', 'en', 'EBS Magnetic (standard) Volume Storage', 'Checks for usage that is more than 80% of the EBS Magnetic (standard) Volume Storage Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ebs" target="_blank">EBS Limits</a>')
,ROW( 'aW9HH0l8J6', 'en', 'EC2-Classic Elastic IP Addresses', 'Checks for usage that is more than 80% of the EC2-Classic Elastic IP Addresses Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html" target="_blank">EC2 Limits</a>')
,ROW( 'iH7PP0l7J9', 'en', 'EC2 Reserved Instance Leases', 'Checks for usage that is more than 80% of the EC2 Reserved Instance Leases Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html" target="_blank">EC2 Limits</a>')
,ROW( 'bW7HH0l7J9', 'en', 'Kinesis Shards per Region', 'Checks for usage that is more than 80% of the Kinesis Shards per Region Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/streams/latest/dev/service-sizes-and-limits.html" target="_blank">Kinesis Streams Limits</a>')
,ROW( 'gW7HH0l7J9', 'en', 'CloudFormation Stacks', 'Checks for usage that is more than 80% of the CloudFormation Stacks Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html" target="_blank">CloudFormation Limits</a>')
,ROW( 'aW7HH0l7J9', 'en', 'Auto Scaling Launch Configurations', 'Checks for usage that is more than 80% of the Auto Scaling Launch Configurations Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/autoscaling/latest/userguide/as-account-limits.html" target="_blank">Auto Scaling Limits</a>')
,ROW( 'fW7HH0l7J9', 'en', 'Auto Scaling Groups', 'Checks for usage that is more than 80% of the Auto Scaling Groups Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/autoscaling/latest/userguide/as-account-limits.html" target="_blank">Auto Scaling Limits</a>')
,ROW( 'jL7PP0l7J9', 'en', 'VPC', 'Checks for usage that is more than 80% of the VPC Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br> <b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Appendix_Limits.html#vpc-limits-vpcs-subnets" target="_blank">VPC Limits</a>')
,ROW( 'kM7QQ0l7J9', 'en', 'VPC Internet Gateways', 'Checks for usage that is more than 80% of the VPC Internet Gateways Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Appendix_Limits.html#vpc-limits-gateways" target="_blank">VPC Gateway Limits</a>')
,ROW( 'lN7RR0l7J9', 'en', 'EC2-VPC Elastic IP Address', 'Checks for usage that is more than 80% of the EC2-VPC Elastic IP Address Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Appendix_Limits.html#vpc-limits-eips" target="_blank">VPC Elastic IP Limits</a>')
,ROW( 'nO7SS0l7J9', 'en', 'IAM Instance Profiles', 'Checks for usage that is more than 80% of the IAM Instance Profiles Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-limits.html" target="_blank">IAM Limits</a>')
,ROW( 'oQ7TT0l7J9', 'en', 'IAM Roles', 'Checks for usage that is more than 80% of the IAM Roles Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-limits.html" target="_blank">IAM Limits</a>')
,ROW( 'pR7UU0l7J9', 'en', 'IAM Policies', 'Checks for usage that is more than 80% of the IAM Policies Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-limits.html" target="_blank">IAM Limits</a>')
,ROW( 'qS7VV0l7J9', 'en', 'IAM Users', 'Checks for usage that is more than 80% of the IAM Users Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-limits.html" target="_blank">IAM Limits</a>')
,ROW( 'rT7WW0l7J9', 'en', 'IAM Server Certificates', 'Checks for usage that is more than 80% of the IAM Server Certificates Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-limits.html" target="_blank">IAM Limits</a>')
,ROW( 'sU7XX0l7J9', 'en', 'IAM Group', 'Checks for usage that is more than 80% of the IAM Group Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-limits.html" target="_blank">IAM Limits</a>')
,ROW( 'iK7OO0l7J9', 'en', 'ELB Classic Load Balancers', 'Checks for usage that is more than 80% of the ELB Classic Load Balancers. Application Load Balancers and Network Load Balancers have a separate limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br/><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_elastic_load_balancer" target="_blank">AWS Service Limits - Elastic Load Balancing default service limits</a>')
,ROW( '7fuccf1Mx7', 'en', 'RDS Cluster Roles', 'Checks for usage that is more than 80% of the RDS Cluster Roles Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html" target="_blank">RDS Limits</a>')
,ROW( 'jtlIMO3qZM', 'en', 'RDS Cluster Parameter Groups', 'Checks for usage that is more than 80% of the RDS Cluster Parameter Groups Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html" target="_blank">RDS Limits</a>')
,ROW( 'gjqMBn6pjz', 'en', 'RDS Clusters', 'Checks for usage that is more than 80% of the RDS Clusters Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html" target="_blank">RDS Limits</a>')
,ROW( 'UUDvOa5r34', 'en', 'RDS Reserved Instances', 'Checks for usage that is more than 80% of the RDS Reserved Instances Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html" target="_blank">RDS Limits</a>')
,ROW( 'jEhCtdJKOY', 'en', 'RDS Subnets per Subnet Group', 'Checks for usage that is more than 80% of the RDS Subnets per Subnet Group Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html" target="_blank">RDS Limits</a>')
,ROW( 'dYWBaXaaMM', 'en', 'RDS Subnet Groups', 'Checks for usage that is more than 80% of the RDS Subnet Groups Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html" target="_blank">RDS Limits</a>')
,ROW( '3Njm0DJQO9', 'en', 'RDS Option Groups', 'Checks for usage that is more than 80% of the RDS Option Groups Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html" target="_blank">RDS Limits</a>')
,ROW( 'keAhfbH5yb', 'en', 'RDS Event Subscriptions', 'Checks for usage that is more than 80% of the RDS Event Subscriptions Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html" target="_blank">RDS Limits</a>')
,ROW( 'dV84wpqRUs', 'en', 'RDS DB Manual Snapshots', 'Checks for usage that is more than 80% of the RDS DB Manual Snapshots Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html" target="_blank">RDS Limits</a>')
,ROW( 'P1jhKWEmLa', 'en', 'RDS Total Storage Quota', 'Checks for usage that is more than 80% of the RDS Total Storage Quota Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html" target="_blank">RDS Limits</a>')
,ROW( 'jEECYg2YVU', 'en', 'RDS DB Parameter Groups', 'Checks for usage that is more than 80% of the RDS DB Parameter Groups Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html" target="_blank">RDS Limits</a>')
,ROW( 'pYW8UkYz2w', 'en', 'RDS Read Replicas per Master', 'Checks for usage that is more than 80% of the RDS Read Replicas per Master Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html" target="_blank">RDS Limits</a>')
,ROW( 'gfZAn3W7wl', 'en', 'RDS DB Security Groups', 'Checks for usage that is more than 80% of the RDS DB Security Groups Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html" target="_blank">RDS Limits</a>')
,ROW( 'XG0aXHpIEt', 'en', 'RDS DB Instances', 'Checks for usage that is more than 80% of the RDS DB Instances Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html" target="_blank">RDS Limits</a>')
,ROW( 'dBkuNCvqn5', 'en', 'RDS Max Auths per Security Group', 'Checks for usage that is more than 80% of the RDS Max Auths per Security Group Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html" target="_blank">RDS Limits</a>')
,ROW( 'wH7DD0l3J9', 'en', 'EBS Throughput Optimized HDD (st1) Volume Storage', 'Checks for usage that is more than 80% of the EBS Throughput Optimized HDD (st1) Volume Storage Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ebs" target="_blank">EBS Limits</a>')
,ROW( 'gH5CC0e3J9', 'en', 'EBS Cold HDD (sc1) Volume Storage', 'Checks for usage that is more than 80% of the EBS Cold HDD (sc1) Volume Storage Limit. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ebs" target="_blank">EBS Limits</a>')
,ROW( '6gtQddfEw6', 'en', 'DynamoDB Read Capacity', 'Checks for usage that is more than 80% of the DynamoDB Provisioned Throughput Limit for Reads per Account. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_dynamodb" target="_blank">DynamoDB Limits</a>')
,ROW( 'c5ftjdfkMr', 'en', 'DynamoDB Write Capacity', 'Checks for usage that is more than 80% of the DynamoDB Provisioned Throughput Limit for Writes per Account. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_dynamodb" target="_blank">DynamoDB Limits</a>')
,ROW( 'ru4xfcdfMr', 'en', 'Route 53 Max Health Checks', 'Checks for usage that is more than 80% of the Route 53 Health Checks Limit per account. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html" target="_blank">Route 53 Limits</a>')
,ROW( 'dx3xfcdfMr', 'en', 'Route 53 Hosted Zones', 'Checks for usage that is more than 80% of the Route 53 Hosted Zones Limit per account. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html" target="_blank">Route 53 Limits</a>')
,ROW( 'ty3xfcdfMr', 'en', 'Route 53 Reusable Delegation Sets', 'Checks for usage that is more than 80% of the Route 53 Reusable Delegation Sets Limit per account. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html" target="_blank">Route 53 Limits</a>')
,ROW( 'dx3xfbjfMr', 'en', 'Route 53 Traffic Policies', 'Checks for usage that is more than 80% of the Route 53 Traffic Policies Limit per account. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html" target="_blank">Route 53 Limits</a>')
,ROW( 'dx8afcdfMr', 'en', 'Route 53 Traffic Policy Instances', 'Checks for usage that is more than 80% of the Route 53 Traffic Policy Instances Limit per account. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html" target="_blank">Route 53 Limits</a>')
,ROW( 'cX3c2R1chu', 'en', 'Amazon EC2 Reserved Instances Optimization', 'A significant part of using AWS involves balancing your Reserved Instance (RI) usage and your On-Demand instance usage. We provide recommendations on which RIs will help reduce costs incurred from using On-Demand instances.<br/>AWS generates these recommendations by analyzing your On-Demand usage for the past 30 days, and then categorizing the usage into eligible categories for reservations. We then simulate every combination of reservations in the generated category of usage in order to identify the best number of each type of RI to purchase to maximize your savings. This check covers recommendations based on Standard Reserved Instances with partial upfront payment option. This check is not available to accounts linked in Consolidated Billing. Recommendations are only available for the Paying Account.<br/><br/><b>Alert Criteria</b><br/>Yellow: Optimizing the use of partial upfront RIs can help reduce costs.<br/><br/><b>Recommended Action</b><br/>See the <a href="https://aws.amazon.com/aws-cost-management/aws-cost-explorer/" target="_blank">Cost Explorer</a> page for more detailed and customized recommendations. Additionally, refer to the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html#ri-market-buying-guide" target="_blank">buying guide</a> to understand how to purchase RIs and the options available.<br/><br/><b>Additional Resources</b><br/>Information on RIs and how they can save you money can be found <a href="https://aws.amazon.com/ec2/pricing/reserved-instances/" target="_blank">here</a>.<br/>For more information on this recommendation, see <a href="https://aws.amazon.com/premiumsupport/technology/trusted-advisor/faqs/#Reserved_Instance_Optimization_Check_Questions" target="_blank">Reserved Instance Optimization Check Questions</a> in the Trusted Advisor FAQs.')
,ROW( 'EM8b3yLRTr', 'en', 'ELB Application Load Balancers', 'Checks for usage that is more than 80% of the ELB Application Load Balancers Limit. Classic Load Balancers and Network Load Balancers have separate limits. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br/><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_elastic_load_balancer" target="_blank">AWS Service Limits - Elastic Load Balancing default service limits</a>')
,ROW( '8wIqYSt25K', 'en', 'ELB Network Load Balancers', 'Checks for usage that is more than 80% of the ELB Network Load Balancers Limit. Classic Load Balancers and Application Load Balancers have separate limits. Values are based on a snapshot, so your current usage might differ. Limit and usage data can take up to 24 hours to reflect any changes. In cases where limits have been recently increased, you may temporarily see utilization that exceeds the limit.<br/><br><b>Alert Criteria</b><br>Yellow: 80% of limit reached.<br>Red: 100% of limit reached.<br>Blue: Trusted Advisor was unable to retrieve utilization or limits in one or more regions.<br><br><b>Recommended Action</b><br>If you anticipate exceeding a service limit, open a case in Support Center to <a href="https://aws.amazon.com/support/createCase?type=service_limit_increase" target="_blank">request a limit increase</a>.<br><br><b>Additional Resources</b><br><a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_elastic_load_balancer" target="_blank">AWS Service Limits - Elastic Load Balancing default service limits</a>')
,ROW( 'vZ2c2W1srf', 'en', 'Savings Plan', 'Checks your usage of EC2, Fargate, and Lambda over the last 30 days and provides Savings Plan purchase recommendations, which allows you to commit to a consistent usage amount measured in $/hour for a one or three year term in exchange for discounted rates. These are sourced from AWS Cost Explorer which can be used to get more detailed recommendation information, or to purchase a savings plan. These recommendations should be considered an alternative to your RI recommendations and choosing to act fully on both sets of recommendations would likely lead to over commitment. This check is not available to accounts linked in Consolidated Billing. Recommendations are only available for the Paying Account. <br/><br/><b>Alert Criteria</b><br/>Yellow: Optimizing the purchase of Savings Plans can help reduce costs.<br/><br/><b>Recommended Action</b><br/>See the <a href="https://console.aws.amazon.com/billing/home?/costexplorer#/costexplorer/" target="_blank">Cost Explorer</a> page for more detailed and customized recommendations and to purchase Savings Plans. <br/><br/><b>Additional Resources</b><br/>Savings Plan <a href="https://docs.aws.amazon.com/savingsplans/latest/userguide/what-is-savings-plans.html" target="_blank">User Guide</a><br/>Savings Plan <a href="https://aws.amazon.com/savingsplans/faq/" target="_blank">FAQ</a>')
,ROW( 'h3L1otH3re', 'en', 'Amazon ElastiCache Reserved Node Optimization', 'Checks your usage of ElastiCache and provides recommendations on purchase of Reserved Nodes to help reduce costs incurred from using ElastiCache On-Demand. AWS generates these recommendations by analyzing your On-Demand usage for the past 30 days. We then simulate every combination of reservations in the generated category of usage in order to identify the best number of each type of Reserved Node to purchase to maximize your savings. This check covers recommendations based on partial upfront payment option with 1-year or 3-year commitment. This check is not available to accounts linked in Consolidated Billing. Recommendations are only available for the Paying Account.<br><br><b>Alert Criteria</b><br>Yellow: Optimizing the purchase of ElastiCache Reserved Nodes can help reduce costs.<br><br><b>Recommended Action</b><br>See the <a target="_blank" href="http://console.aws.amazon.com/billing/home?/costexplorer#/costexplorer">Cost Explorer</a> page for more detailed recommendations, customization options (e.g. look-back period, payment option, etc.) and to purchase ElastiCache Reserved Nodes.<br/><br/><b>Additional Resources</b><br/>Information on ElastiCache Reserved Nodes and how they can save you money can be found <a target="_blank" href="http://aws.amazon.com/elasticache/reserved-cache-nodes/">here</a>.<br>For more information on this recommendation, see <a target="_blank" href="http://aws.amazon.com/premiumsupport/technology/trusted-advisor/faqs/#Reserved_Instance_Optimization_Check_Questions">Reserved Instance Optimization Check Questions</a> in the Trusted Advisor FAQs.<br>For more detailed description of fields, see <a target="_blank" href="http://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_ReservationPurchaseRecommendationDetail.html#awscostmanagement-Type-ReservationPurchaseRecommendationDetail-AverageUtilization">Cost Explorer documentation</a>')
,ROW( '1qw23er45t', 'en', 'Amazon Redshift Reserved Node Optimization', 'Checks your usage of Redshift and provides recommendations on purchase of Reserved Nodes to help reduce costs incurred from using Redshift On-Demand. AWS generates these recommendations by analyzing your On-Demand usage for the past 30 days. We then simulate every combination of reservations in the generated category of usage in order to identify the best number of each type of Reserved Nodes to purchase to maximize your savings. This check covers recommendations based on partial upfront payment option with 1-year or 3-year commitment. This check is not available to accounts linked in Consolidated Billing. Recommendations are only available for the Paying Account.<br/><br/><b>Alert Criteria</b><br/>Yellow: Optimizing the purchase of Redshift Reserved Nodes can help reduce costs.<br/><br/><b>Recommended Action</b><br/>See the <a href="https://console.aws.amazon.com/billing/home?/costexplorer#/costexplorer" target="_blank">Cost Explorer</a> page for more detailed recommendations, customization options (e.g. look-back period, payment option, etc.) and to purchase Redshift Reserved Nodes.<br/><br/><b>Additional Resources</b><br/>Information on Redshift Reserved Nodes and how they can save you money can be found <a href="http://docs.aws.amazon.com/redshift/latest/mgmt/purchase-reserved-node-instance.html" target="_blank">here</a>.<br>For more information on this recommendation, see <a href="http://aws.amazon.com/premiumsupport/technology/trusted-advisor/faqs/#Reserved_Instance_Optimization_Check_Questions" target="_blank">Reserved Instance Optimization Check Questions</a> in the Trusted Advisor FAQs.<br/>For more detailed description of fields, see <a href="http://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_ReservationPurchaseRecommendationDetail.html#awscostmanagement-Type-ReservationPurchaseRecommendationDetail-AverageUtilization" target="_blank">Cost Explorer documentation</a>')
,ROW( '1qazXsw23e', 'en', 'Amazon Relational Database Service (RDS) Reserved Instance Optimization', 'Checks your usage of RDS and provides recommendations on purchase of Reserved Instances to help reduce costs incurred from using RDS On-Demand. AWS generates these recommendations by analyzing your On-Demand usage for the past 30 days. We then simulate every combination of reservations in the generated category of usage in order to identify the best number of each type of Reserved Instance to purchase to maximize your savings. This check covers recommendations based on partial upfront payment option with 1-year or 3-year commitment. This check is not available to accounts linked in Consolidated Billing. Recommendations are only available for the Paying Account.<br/><br/>
<b>Alert Criteria</b><br/>Yellow: Optimizing the purchase of RDS Reserved Instances can help reduce costs.<br/><br/>
<b>Recommended Action</b><br/>
See the <a href="http://console.aws.amazon.com/billing/home?/costexplorer#/costexplorer" target="_blank">Cost Explorer</a> page for more detailed recommendations, customization options (e.g. look-back period, payment option, etc.) and to purchase RDS Reserved Instances.<br/><br/><b>Additional Resources</b><br/>Information on RDS Reserved Instances and how they can save you money can be found <a href="http://aws.amazon.com/rds/reserved-instances/" target="_blank">here</a>.<br>For more information on this recommendation, see <a href="http://aws.amazon.com/premiumsupport/technology/trusted-advisor/faqs/#Reserved_Instance_Optimization_Check_Questions" target="_blank">Reserved Instance Optimization Check Questions</a> in the Trusted Advisor FAQs.<br>For more detailed description of fields, see <a href="http://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_ReservationPurchaseRecommendationDetail.html#awscostmanagement-Type-ReservationPurchaseRecommendationDetail-AverageUtilization" target="_blank">Cost Explorer documentation</a>')
,ROW( '7ujm6yhn5t', 'en', 'Amazon Elasticsearch Reserved Instance Optimization', 'Checks your usage of Elasticsearch and provides recommendations on purchase of Reserved Instances to help reduce costs incurred from using Elasticsearch On-Demand. AWS generates these recommendations by analyzing your On-Demand usage for the past 30 days. We then simulate every combination of reservations in the generated category of usage in order to identify the best number of each type of Reserved Instance to purchase to maximize your savings. This check covers recommendations based on partial upfront payment option with 1-year or 3-year commitment. This check is not available to accounts linked in Consolidated Billing. Recommendations are only available for the Paying Account.<br><br><b>Alert Criteria</b><br>Yellow: Optimizing the purchase of Elasticsearch Reserved Instances can help reduce costs.<br><br><b>Recommended Action</b><br>See the <a href="https://console.aws.amazon.com/billing/home?/costexplorer#/costexplorer" target="_blank">Cost Explorer</a> page for more detailed recommendations, customization options (e.g. look-back period, payment option, etc.) and to purchase Elasticsearch Reserved Instances.<br><br><b>Additional Resources</b><br>Information on Elasticsearch Reserved Instances and how they can save you money can be found <a href="https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/aes-ri.html" target="_blank">here</a>.<br>For more information on this recommendation, see <a href="http://aws.amazon.com/premiumsupport/technology/trusted-advisor/faqs/#Reserved_Instance_Optimization_Check_Questions" target="_blank">Reserved Instance Optimization Check Questions</a> in the Trusted Advisor FAQs.<br>For more detailed description of fields, see <a href="http://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_ReservationPurchaseRecommendationDetail.html#awscostmanagement-Type-ReservationPurchaseRecommendationDetail-AverageUtilization" target="_blank">Cost Explorer documentation</a>')
,ROW( 'L4dfs2Q4C5', 'en', 'AWS Lambda Functions Using Deprecated Runtimes', 'Checks for Lambda functions that are configured to use a runtime that is approaching deprecation or is deprecated. Deprecated runtimes are not eligible for security updates or technical support.<br/><b>Note:</b> Results for this check are automatically refreshed several times daily, and refresh requests are not allowed. It might take a few hours for changes to appear.<br><br><b>Alert Criteria</b><br>Red: The function is running on a runtime that is already deprecated.<br>Yellow: The function is running on a runtime that will be deprecated within 120 days.<br><br><b>Recommended Action</b><br>If you have functions that are running on a runtime that is approaching deprecation, you should prepare for migration to a supported runtime. You can learn more about Lambda''s runtime support policy here: <a href="https://docs.aws.amazon.com/lambda/latest/dg/runtime-support-policy.html" target="_blank">https://docs.aws.amazon.com/lambda/latest/dg/runtime-support-policy.html</a><br><br><b>Additional Resources</b><br><a href="http://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html" target="_blank">Lambda runtimes</a>')
,ROW( 'L4dfs2Q3C3', 'en', 'AWS Lambda Functions with Excessive Timeouts', 'Checks for Lambda functions with high timeout rates that may result in high cost. Lambda charges based on execution time for your function and number of requests for your function. Function timeouts result in function errors that may cause retries that incur additional request and execution time charges.<br/><b>Note:</b> Results for this check are automatically refreshed several times daily, and refresh requests are not allowed. It might take a few hours for changes to appear.<br/><br/><b>Alert Criteria</b><br/>Yellow: Functions where > 10% of invocations end in an error due to a timeout on any given day within the last 7 days.<br/><br/><b>Recommended Action</b><br/>Inspect function logging and X-ray traces to determine the contributor to the high function duration. Implement logging in your code at relevant parts, such as before or after API calls or database connections. By default, AWS SDK clients timeouts may be longer than the configured function duration. Adjust API and SDK connection clients to retry or fail within the function timeout. If the expected duration is longer than the configured timeout, you can increase the timeout setting for the function. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-monitoring.html" target="blank">Monitoring and troubleshooting Lambda applications</a>.<br/><br/><b>Additional Resources</b><br/><a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-monitoring.html" target="blank">Monitoring and troubleshooting Lambda applications</a><br/><a href="https://aws.amazon.com/premiumsupport/knowledge-center/lambda-function-retry-timeout-sdk/" target="blank">Lambda Function Retry Timeout SDK</a><br/><a href="https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html" target="blank">Using AWS Lambda with AWS X-Ray</a><br/><a href="https://docs.aws.amazon.com/lambda/latest/dg/monitoring-cloudwatchlogs.html" target="blank">Accessing Amazon CloudWatch logs for AWS Lambda</a><br/><a href="https://docs.aws.amazon.com/lambda/latest/dg/samples-errorprocessor.html" target="blank">Error Processor Sample Application for AWS Lambda</a><br/>')
,ROW( 'L4dfs2Q3C2', 'en', 'AWS Lambda Functions with High Error Rates', 'Checks for Lambda functions with high error rates that may result in high cost. Lambda charges based on the number of requests and aggregate execution time for your function. Function errors may cause retries that incur additional charges.<br/><b>Note:</b> Results for this check are automatically refreshed several times daily, and refresh requests are not allowed. It might take a few hours for changes to appear.<br/><br/><b>Alert Criteria</b><br/>Yellow: Functions where > 10% of invocations end in error on any given day within the last 7 days.<br/><br/><b>Recommended Action</b><br/>Consider the following guidelines to reduce errors. Function errors include errors returned by the function''s code and errors returned by the function''s runtime. To help you troubleshoot Lambda errors, Lambda integrates with services like Amazon CloudWatch and AWS X-Ray. You can use a combination of logs, metrics, alarms, and X-ray tracing to quickly detect and identify issues in your function code, API, or other resources that support your application. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-monitoring.html" target="blank">Monitoring and troubleshooting Lambda applications</a>. For more information on handling errors with specific runtimes, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-retries.html" target="blank">Error handling and automatic retries in AWS Lambda</a>. For additional troubleshooting, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-troubleshooting.html" target="blank">Troubleshooting issues in Lambda</a>.You can also choose from an ecosystem of monitoring and observability tools provided by AWS Lambda partners. For additional information about Partners, see <a href="https://aws.amazon.com/lambda/partners/?partner-solutions-cards.sort-by=item.additionalFields.partnerNameLower&partner-solutions-cards.sort-order=asc" target="blank">AWS Lambda Partners</a>.<br/><br/><b>Additional Resources</b><br/><a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-retries.html" target="blank">Error Handling and Automatic Retries in AWS Lambda</a><br/><a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-monitoring.html" target="blank">Monitoring and Troubleshooting Lambda applications</a><br/><a href="https://aws.amazon.com/premiumsupport/knowledge-center/lambda-function-retry-timeout-sdk/" target="blank">Lambda Function Retry Timeout SDK</a><br/><a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-troubleshooting.html" target="blank">Troubleshooting issues in Lambda</a><br/><a href="https://docs.aws.amazon.com/lambda/latest/dg/API_Invoke.html#API_Invoke_Errors" target="blank">API Invoke Errors</a><br/><a href="https://docs.aws.amazon.com/lambda/latest/dg/samples-errorprocessor.html" target="blank">Error Processor Sample Application for AWS Lambda</a><br/>')
,ROW( 'L4dfs2Q4C6', 'en', 'AWS Lambda VPC-enabled Functions without Multi-AZ Redundancy', 'Checks for VPC-enabled Lambda functions that are vulnerable to service interruption in a single availability zone. It is recommended for VPC-enabled functions to be connected to multiple availability zones for high availability.<br/><b>Note:</b> Results for this check are automatically refreshed several times daily, and refresh requests are not allowed. It might take a few hours for changes to appear.<br/><br/><b>Alert Criteria</b><br/>Yellow: A VPC-enabled Lambda function connected to subnets in a single Availability Zone.<br/><br/><b>Recommended Action</b><br/>When configuring functions for access to your VPC, choose subnets in multiple Availability Zones to ensure high availability.<br/><br/><b>Additional Resources</b><br/><a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html" target="blank">Configuring a Lambda function to access resources in a VPC</a><br/><a href="https://docs.aws.amazon.com/lambda/latest/dg/security-resilience.html" target="blank">Resilience in AWS Lambda</a><br/>')
)ignored_tabe_name (check_id, language, name, description)
|
<reponame>Dennis-Koch/ambeth
CREATE TABLE "QUERY_ENTITY"
(
"ID" NUMBER NOT NULL,
"FK" NUMBER NULL,
"NAME1" VARCHAR2(20 CHAR),
"NAME2" VARCHAR2(20 CHAR),
"FTNAME1" VARCHAR2(500 CHAR),
"FTNAME2" VARCHAR2(500 CHAR),
"CONTENT" FLOAT(6),
"UPDATED_ON" DATE,
"CREATED_ON" DATE,
"UPDATED_BY" VARCHAR2(16 CHAR),
"CREATED_BY" VARCHAR2(16 CHAR),
"VERSION" NUMBER(*,0),
CONSTRAINT "PK_QUERY_ENTITY" PRIMARY KEY ("ID") USING INDEX,
CONSTRAINT "LINK_QE_JQE_FK1" FOREIGN KEY ("FK") REFERENCES "JOIN_QUERY_ENTITY" ("ID") DEFERRABLE INITIALLY IMMEDIATE
);
CREATE SEQUENCE "QUERY_ENTITY_SEQ" MINVALUE 1 MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 10000 CACHE 20 NOORDER NOCYCLE;
CREATE TABLE "JOIN_QUERY_ENTITY"
(
"ID" NUMBER NOT NULL,
"PARENT" NUMBER,
"CONTENT" FLOAT(6),
"JOIN_VALUE_1" NUMBER(9,0),
"JOIN_VALUE_2" NUMBER(9,0),
"UPDATED_ON" DATE,
"CREATED_ON" DATE,
"UPDATED_BY" VARCHAR2(16 CHAR),
"CREATED_BY" VARCHAR2(16 CHAR),
"VERSION" NUMBER(*,0),
CONSTRAINT "PK_JOIN_QUERY_ENTITY" PRIMARY KEY ("ID") USING INDEX,
CONSTRAINT "LINK_JQE_JQE_FK1" FOREIGN KEY ("PARENT") REFERENCES "JOIN_QUERY_ENTITY" ("ID") DEFERRABLE INITIALLY IMMEDIATE
);
CREATE SEQUENCE "JOIN_QUERY_ENTITY_SEQ" MINVALUE 1 MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 10000 CACHE 20 NOORDER NOCYCLE;
CREATE TABLE "LINK_TABLE_ENTITY"
(
"ID" NUMBER NOT NULL,
"NAME" VARCHAR2(20 BYTE),
"UPDATED_ON" DATE,
"CREATED_ON" DATE,
"UPDATED_BY" VARCHAR2(16 CHAR),
"CREATED_BY" VARCHAR2(16 CHAR),
"VERSION" NUMBER(*,0),
CONSTRAINT "PK_LINK_TABLE_ENTITY" PRIMARY KEY ("ID") USING INDEX
);
CREATE SEQUENCE "LINK_TABLE_ENTITY_SEQ" MINVALUE 1 MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 10000 CACHE 20 NOORDER NOCYCLE;
CREATE TABLE "LINK_QE_LTE"
(
"LEFT_ID" NUMBER NOT NULL,
"RIGHT_ID" NUMBER NOT NULL,
CONSTRAINT "LINK_QE_LTE_PK" PRIMARY KEY ("LEFT_ID", "RIGHT_ID") USING INDEX,
CONSTRAINT "LINK_QE_LTE_FK1" FOREIGN KEY ("LEFT_ID") REFERENCES "QUERY_ENTITY" ("ID") DEFERRABLE INITIALLY IMMEDIATE,
CONSTRAINT "LINK_QE_LTE_FK2" FOREIGN KEY ("RIGHT_ID") REFERENCES "LINK_TABLE_ENTITY" ("ID") DEFERRABLE INITIALLY IMMEDIATE
);
|
create index message_event_id_idx on hook.message(event_id);
create index customer_message_event_id_idx on hook.customer_message(event_id);
|
<filename>emit-monitoring/emit-services/src/main/resources/fr/icam/emit/queries/clients/page-report.sql
SELECT
c.`uuid` AS uuid,
c.`name` AS name,
c.`user` AS user,
c.`open` AS open,
b.`uri` AS brokerUri,
b.`name` AS brokerName,
b.`user` AS brokerUser
FROM `clients` c
INNER JOIN `brokers`b ON b.`uri` = c.`broker`
INNER JOIN `shares` s ON s.`client` = c.`uuid`
WHERE s.`user` = ? AND b.`user`= c.`user` AND s.`control` IS NOT NULL
LIMIT ?,?; |
-- SQL Server
USE pubs
SELECT ord_num + ' z ' + cast(qty as varchar(20))
FROM sales
WHERE qty > 10
-- Oracle (single/double quotes important)
select patron_id || ' and ' || insert_dt as "Bar" from activity_log
|
<gh_stars>1000+
-- Error cases
SELECT parseDateTime64BestEffort(); -- {serverError 42}
SELECT parseDateTime64BestEffort(123); -- {serverError 43}
SELECT parseDateTime64BestEffort('foo'); -- {serverError 41}
SELECT parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 'bar'); -- {serverError 43} -- invalid scale parameter
SELECT parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, 4); -- {serverError 43} -- invalid timezone parameter
SELECT parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, 'baz'); -- {serverError 1000} -- unknown timezone
SELECT parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', materialize(3), 4); -- {serverError 44} -- non-const precision
SELECT parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, materialize('UTC')); -- {serverError 44} -- non-const timezone
SELECT parseDateTime64BestEffort('2020-05-14T03:37:03.253184012345678910111213141516171819Z', 3, 'UTC'); -- {serverError 6}
SELECT 'orNull';
SELECT parseDateTime64BestEffortOrNull('2020-05-14T03:37:03.253184Z', 3, 'UTC');
SELECT parseDateTime64BestEffortOrNull('foo', 3, 'UTC');
SELECT 'orZero';
SELECT parseDateTime64BestEffortOrZero('2020-05-14T03:37:03.253184Z', 3, 'UTC');
SELECT parseDateTime64BestEffortOrZero('bar', 3, 'UTC');
SELECT 'non-const';
SELECT parseDateTime64BestEffort(materialize('2020-05-14T03:37:03.253184Z'), 3, 'UTC');
SELECT 'Timezones';
SELECT parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, 'UTC');
SELECT parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, 'Europe/Minsk');
SELECT 'Formats';
SELECT parseDateTime64BestEffort('2020-05-14T03:37:03.253184', 3, 'UTC');
SELECT parseDateTime64BestEffort('2020-05-14T03:37:03', 3, 'UTC');
SELECT parseDateTime64BestEffort('2020-05-14 03:37:03', 3, 'UTC');
SELECT 'Unix Timestamp with Milliseconds';
SELECT parseDateTime64BestEffort('1640649600123', 3, 'UTC');
SELECT parseDateTime64BestEffort('1640649600123', 1, 'UTC');
SELECT parseDateTime64BestEffort('1640649600123', 6, 'UTC');
|
create extension postgis^
-- begin CRUISESAMPLE_PORT
create table CRUISESAMPLE_PORT (
ID uuid,
VERSION integer not null,
CREATE_TS timestamp,
CREATED_BY varchar(50),
UPDATE_TS timestamp,
UPDATED_BY varchar(50),
DELETE_TS timestamp,
DELETED_BY varchar(50),
--
NAME varchar(255) not null,
LOCATION geometry not null,
--
primary key (ID)
)^
-- end CRUISESAMPLE_PORT
-- begin CRUISESAMPLE_ROUTE
create table CRUISESAMPLE_ROUTE (
ID uuid,
VERSION integer not null,
CREATE_TS timestamp,
CREATED_BY varchar(50),
UPDATE_TS timestamp,
UPDATED_BY varchar(50),
DELETE_TS timestamp,
DELETED_BY varchar(50),
--
NAME varchar(255) not null,
--
primary key (ID)
)^
-- end CRUISESAMPLE_ROUTE
-- begin CRUISESAMPLE_WAYPOINT
create table CRUISESAMPLE_WAYPOINT (
ID uuid,
VERSION integer not null,
CREATE_TS timestamp,
CREATED_BY varchar(50),
UPDATE_TS timestamp,
UPDATED_BY varchar(50),
DELETE_TS timestamp,
DELETED_BY varchar(50),
--
POINT geometry not null,
ETA timestamp,
ROUTE_ID uuid,
--
primary key (ID)
)^
-- end CRUISESAMPLE_WAYPOINT
-- begin CRUISESAMPLE_STOP
create table CRUISESAMPLE_STOP (
ID uuid,
VERSION integer not null,
CREATE_TS timestamp,
CREATED_BY varchar(50),
UPDATE_TS timestamp,
UPDATED_BY varchar(50),
DELETE_TS timestamp,
DELETED_BY varchar(50),
--
ORDER_ integer not null,
PORT_ID uuid not null,
--
primary key (ID)
)^
-- end CRUISESAMPLE_STOP
-- begin CRUISESAMPLE_ROUTE_STOP_LINK
create table CRUISESAMPLE_ROUTE_STOP_LINK (
ROUTE_ID uuid,
STOP_ID uuid,
primary key (ROUTE_ID, STOP_ID)
)^
-- end CRUISESAMPLE_ROUTE_STOP_LINK
|
<gh_stars>1-10
#standardSQL
# 02_11: Top reset utils
SELECT
client,
CASE LOWER(util)
WHEN 'normalize.css' THEN 'Normalize.css'
WHEN 'pure-css' THEN 'Pure CSS'
WHEN 'http://meyerweb.com/eric/tools/css/reset/' THEN 'Reset CSS'
ELSE util
END AS util,
COUNT(DISTINCT page) AS freq,
total,
ROUND(COUNT(DISTINCT page) * 100 / total, 2) AS pct
FROM
(SELECT client, page, body FROM `httparchive.almanac.summary_response_bodies` WHERE date = '2019-07-01' AND type = 'css')
JOIN
(SELECT _TABLE_SUFFIX AS client, COUNT(0) AS total FROM `httparchive.summary_pages.2019_07_01_*` GROUP BY client)
USING (client),
# Search for reset util fingerprints in stylesheet comments.
UNNEST(REGEXP_EXTRACT_ALL(body, '(?i)(normalize\\.css|pure\\-css|http://meyerweb\\.com/eric/tools/css/reset/)')) AS util
GROUP BY
client,
total,
util
ORDER BY
freq / total DESC
|
CREATE EXTENSION diskquota;
SELECT diskquota.init_table_size_table();
-- Wait after init so that diskquota.state is clean
SELECT diskquota.wait_for_worker_new_epoch();
|
<reponame>cscl-git/digit-bpa
ALTER TABLE EG_INSTALLMENT_MASTER ADD COLUMN FINANCIAL_YEAR character varying(50);
|
CREATE DATABASE IF NOT EXISTS demos;
USE demos;
DROP TABLE IF EXISTS `USER`;
CREATE TABLE `USER` (
`ID` int(11) NOT NULL AUTO_INCREMENT,
`USERNAME` varchar(20) DEFAULT NULL,
PRIMARY KEY (`ID`)
) DEFAULT CHARSET utf8;
INSERT INTO `USER` VALUES ('1', 'admin');
INSERT INTO `USER` VALUES ('2', 'gorden5566');
INSERT INTO `USER` VALUES ('3', 'test');
|
ALTER TABLE maw.login_history
ALTER COLUMN username TYPE VARCHAR(255);
|
CREATE TABLE EMPLOYEE(
ID BIGINT PRIMARY KEY AUTO_INCREMENT,
FIRST_NAME VARCHAR(255),
LAST_NAME VARCHAR(255),
ADDRESS VARCHAR(255),
DESIGNATION VARCHAR(255),
SALARY BIGINT
);
|
<reponame>lucianobajr/banco
-- 3 (configuracao inicial)
CREATE SCHEMA IF NOT EXISTS lista7ex3;
USE lista7ex3;
CREATE TABLE IF NOT EXISTS convenio
(
cod_convenio VARCHAR(2) NOT NULL,
desc_convenio VARCHAR(200) NOT NULL,
PRIMARY KEY(cod_convenio)
);
CREATE TABLE IF NOT EXISTS paciente
(
cd_pac INT NOT NULL,
nm_pac VARCHAR(200) NOT NULL,
dt_nasc DATE NOT NULL,
conv_pac VARCHAR(2) NOT NULL,
PRIMARY KEY(cd_pac),
FOREIGN KEY(conv_pac) REFERENCES convenio(cod_convenio)
);
CREATE TABLE IF NOT EXISTS atendimento
(
cd_pac INT NOT NULL,
dia_atend DATE NOT NULL,
diag TEXT NOT NULL,
PRIMARY KEY(cd_pac, dia_atend),
FOREIGN KEY(cd_pac) REFERENCES paciente(cd_pac)
);
INSERT INTO convenio (cod_convenio, desc_convenio)
VALUES ('01', 'Unimed - código 11347'),
('02', 'FUNBEP - código 7141-2'),
('03', 'BAMERINDUS'),
('04', 'GRALHA – AZUL'),
('05', 'CASSI - código – 21.447-7'),
('06', 'FUNCEF'),
('07', 'TELEPAR - código 00335'),
('08', 'PETROBRAS'),
('09', 'BANCO CENTRAL'),
('10', 'Particular'),
('11', 'AMBEP');
INSERT INTO paciente (cd_pac, nm_pac, dt_nasc, conv_pac)
VALUES (1, '<NAME>', '1980-08-19', '01'),
(2, '<NAME>', '1979-02-02', '01'),
(3, '<NAME>', '1949-01-02', '03'),
(4, '<NAME>', '1955-10-07', '04'),
(5, '<NAME>', '1969-08-10', '05'),
(6, '<NAME>', '1974-11-29', '11'),
(7, '<NAME>', '1973-01-25', '10'),
(8, '<NAME>', '1916-12-06', '10'),
(9, '<NAME>', '1965-05-20', '05'),
(10, '<NAME>', '1939-08-27', '01');
INSERT INTO atendimento (cd_pac, dia_atend, diag)
VALUES (5, '1996-04-09', 'Lombalgia crônica. Ativ. com esforço - coziinheira. limitação de mobilização. Fez tratº.
medicamentoso com melhora temporária. Sequelka de entorse de tornozelo E.
Ao ex.dor lombo sacra E. Retração IT, limitação de FE. Edema de tronozelo e dor.
Cond. RX de col. lombar AP+P'),
(2, '1996-04-09', 'RX Acentuada degeneração com osteofitos laterais Diminuição de espaços artic. L4-L5 - desvio
escoliótico.Cond. Fisioterapia'),
(2, '1996-05-07', 'Terminou fisioterapia. Melhora Subjativa. Manter mais 1 série.'),
(4, '1996-06-25', 'Terminou 20ª sessão de fisioterapia. S/ queixas. Cont. exerc. dom. DO'),
(1, '1997-06-26', 'Dor lombar há 3 dias após esforço em má postura. Dor em ombroE. com irradiação para
extremidade de MSE. Dor edema em tornozelo D.
Ao exame:Tendinite supinadores antebrço E., lombalgia pós esforço, sinovite tornozelo D.
Cond. Crioterapia cotovelo E+CT tornozelo D. + CUL lombar (Rec. Catadolon (AG)'),
(10, '1997-07-03', 'Sesamoidite pé E há 04 dias com acentuado edema MF hallux e dificuldade para apoio
Cond. CUL+CT+Sintalgim'),
(3, '1997-07-08', 'Melhora subjetiva- manter CUL rever 1 sem. se nec fisioterapia'),
(6, '1997-04-03', 'Ombro doloroso a D. com queda do mesmo . Má postura para ativ. domésticas.Dor em face medial
de joelhos maior a dir.
Cond. CT parajoelhos e fisioterapia para correção postural. rever após.'),
(7, '1997-07-10', 'Epicondilite cotovelo Dir. com 01 mes evolução.Ativ. sedentária limitação de PPS e Extensão do
puinho.
Cond. RX do cotovelo D + Criort. Flogene'),
(2, '1997-07-10', 'Tendinite dos extensores de 2º e 3º pododactilos do pé E. fez tratº. com AINE por o3 dias sem
melhora
Ao ex. dor, edema dorso do pé E. e dific. para marcha.');
-- fim da configuracao inicial do exercicio 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.