Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SQL Scripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
HOTMapper
SQL Scripts
Commits
fa7057b9
Commit
fa7057b9
authored
2 years ago
by
Fernando Gbur dos Santos
Browse files
Options
Downloads
Patches
Plain Diff
simcaq_matricula_agregada test 8
parent
03001bcd
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
simcaq_matricula_agregada.sql
+8
-8
8 additions, 8 deletions
simcaq_matricula_agregada.sql
with
8 additions
and
8 deletions
simcaq_matricula_agregada.sql
+
8
−
8
View file @
fa7057b9
...
...
@@ -408,7 +408,7 @@ CREATE TABLE simcaq_matricula_agregada AS (
localizacao_diferenciada_par
,
localidade_area_rural
,
(
num_mat_en_fundamental_anos_finais
-
total_efaf_noturno
)
AS
"matriculas_diurno"
,
T
ot
EFAF
noturno
AS
"matriculas_noturno"
,
t
ot
al_efaf_
noturno
AS
"matriculas_noturno"
,
41
AS
"serie_ano_id"
,
null
as
"etapa_resumida"
,
num_mat_en_fundamental_anos_finais
AS
"num_matriculas"
...
...
@@ -532,7 +532,7 @@ CREATE TABLE simcaq_matricula_agregada AS (
ensino_eja
=
1
OR
educacao_profissional
=
1
)
)
/*
,
),
en_medio_51
AS
(
SELECT
...
...
@@ -548,7 +548,7 @@ CREATE TABLE simcaq_matricula_agregada AS (
localizacao_diferenciada_par
,
localidade_area_rural
,
(
num_mat_en_medio
-
total_em_noturno
)
AS
"matriculas_diurno"
T
ot
EM
noturno AS "matriculas_noturno",
t
ot
al_em_
noturno
AS
"matriculas_noturno"
,
51
AS
"serie_ano_id"
,
null
as
"etapa_resumida"
,
num_mat_en_medio
AS
"num_matriculas"
...
...
@@ -688,7 +688,7 @@ CREATE TABLE simcaq_matricula_agregada AS (
localizacao_diferenciada_par
,
localidade_area_rural
,
(
num_mat_eja_en_fundamental
-
total_eja_ef_noturno
)
AS
"matriculas_diurno"
,
T
ot
EJAEF
noturno AS "matriculas_noturno",
t
ot
al_eja_ef_
noturno
AS
"matriculas_noturno"
,
61
AS
"serie_ano_id"
,
null
as
"etapa_resumida"
,
num_mat_eja_en_fundamental
AS
"num_matriculas"
...
...
@@ -744,7 +744,7 @@ CREATE TABLE simcaq_matricula_agregada AS (
localizacao_diferenciada_par
,
localidade_area_rural
,
(
num_mat_eja_en_medio
-
total_eja_em_noturno
)
AS
"matriculas_diurno"
,
T
ot
EJAM
noturno AS "matriculas_noturno",
t
ot
al_eja_em_
noturno
AS
"matriculas_noturno"
,
63
AS
"serie_ano_id"
,
null
as
"etapa_resumida"
,
num_mat_eja_en_medio
AS
"num_matriculas"
...
...
@@ -784,7 +784,7 @@ CREATE TABLE simcaq_matricula_agregada AS (
ensino_eja
=
1
OR
educacao_profissional
=
1
)
)
*/
)
SELECT
*
FROM
creche_11
UNION
ALL
...
...
@@ -823,7 +823,7 @@ CREATE TABLE simcaq_matricula_agregada AS (
SELECT
*
FROM
en_fundamental_anos_finais_44
UNION
ALL
SELECT
*
FROM
en_fundamental_anos_finais_integral_4
/*
UNION ALL
UNION
ALL
SELECT
*
FROM
en_medio_51
UNION
ALL
SELECT
*
FROM
en_medio_52
...
...
@@ -840,5 +840,5 @@ CREATE TABLE simcaq_matricula_agregada AS (
UNION
ALL
SELECT
*
FROM
eja_en_medio_63
UNION
ALL
SELECT * FROM eja_integral_6
*/
SELECT
*
FROM
eja_integral_6
);
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment