Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SUPERGEEKS-SQL
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Finlay White
SUPERGEEKS-SQL
Commits
282c0e1d
Commit
282c0e1d
authored
1 year ago
by
Finlay White
Browse files
Options
Downloads
Patches
Plain Diff
going home now
parent
e65f29fe
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
createdb.sql
+0
-48
0 additions, 48 deletions
createdb.sql
with
0 additions
and
48 deletions
createdb.sql
+
0
−
48
View file @
282c0e1d
...
...
@@ -594,51 +594,3 @@ BEGIN
END
$$
DELIMITER
;
call
addParent
(
"jeff"
,
"Jones"
,
"email@realemail.com"
,
"veryStrongPassw0rd"
,
02358254
);
call
addParent
(
"tim"
,
"buckley"
,
"loss@realemail.com"
,
"veryStrongPassw0rd"
,
118254
);
call
addBadge
(
"real badge"
,
"this is a totally real badge"
);
insert
into
students
(
studentID
,
fname
,
lname
,
bday
,
dayjoined
,
parentsID
,
groupID
)
values
((
md5
(
concat
(
'bobby'
,
'jones'
,
'EXTRaSTRONGPASSWORD'
))),
"bobby"
,
"jones"
,
'2012-2-11'
,
curdate
(),
'8e301d6e513165a9c0b6b9a2b10c8305'
,
'41'
);
insert
into
students
(
studentID
,
fname
,
lname
,
bday
,
dayjoined
,
parentsID
,
groupID
)
values
(
md5
(
concat
(
'timothy'
,
'jones'
,
'EXTREMELYSTRONGPASSWORD'
)),
"timothy"
,
"jones"
,
'2002-2-11'
,
curdate
(),
'8e301d6e513165a9c0b6b9a2b10c8305'
,
'41'
);
call
addStudent
(
"samantha"
,
"jones"
,
'2019-2-11'
,
'8e301d6e513165a9c0b6b9a2b10c8305'
,
'superSTRONGPASSWORD'
);
call
addStudent
(
"tom"
,
"jones"
,
'2012-2-11'
,
'8e301d6e513165a9c0b6b9a2b10c8305'
,
'superSTRONGPASSWORD'
);
CALL
addstudent
(
'ethan'
,
'buckley'
,
'2013-03-02'
,
'4a85f9d4254038c83c3fc4f9b02b9619'
,
'weakpassword'
);
insert
into
sessiongroup
values
(
'41'
,
4
);
call
viewstudent
(
''
);
select
*
from
students
;
call
applytogroup
(
'4208a177bd0e3e81b682640e2c8078dd'
,
'41'
,
4
);
call
addVolunteer
(
"timothy"
,
"jones"
,
'bob@bbc.co.uk'
,
'8e301d6e513165a9c0b6b9a2b10c8305'
,
"0777008913"
);
call
applytogroup
(
'b6e14bcdd6a79c8f8cd9fcef3be5f00b'
,
'41'
,
4
);
call
applytogroup
(
'031f0ba110c9683bf4cf5d2836b32a95'
,
41
,
4
);
call
updateSG
(
'419fd9859978a9bf79df4ff16c99c5f9'
,
"2020-04-09"
);
call
updateDBS
(
'419fd9859978a9bf79df4ff16c99c5f9'
,
"2021-09-09"
);
call
addSession
(
"computer lab"
,
4
,
'419fd9859978a9bf79df4ff16c99c5f9'
,
'2023-02-03'
,
4
,
'41'
);
call
ReviewSession
(
md5
(
'2023-02-03'
),
"it was ok"
,
"idk"
);
call
addSession
(
"computer lab"
,
3
,
'419fd9859978a9bf79df4ff16c99c5f9'
,
'2023-01-03'
,
4
,
'41'
);
call
ReviewSession
(
md5
(
'2023-01-03'
),
"it was ok"
,
"idk"
);
call
addSession
(
"computer lab"
,
3
,
'419fd9859978a9bf79df4ff16c99c5f9'
,
'2022-11-03'
,
4
,
'41'
);
call
addSession
(
"computer lab"
,
3
,
'419fd9859978a9bf79df4ff16c99c5f9'
,
'2023-04-16'
,
4
,
'41'
);
CALL
STUDENTATTENDS
(
'0ad073b3372ad0c243e6d465a2318568'
,
'94b21f931d888fefd4da7a07c01dff4a'
);
call
studentattends
(
'313b6d9a06c3a0618f72ec75c082b6a4'
,
'94b21f931d888fefd4da7a07c01dff4a'
);
call
viewVolunteer
(
''
);
select
*
from
students
;
call
viewCheckExpiries
();
call
addToGroup
(
'41'
);
-- select * from waitlist;
select
*
from
students
;
call
StudentBadgeApply
(
'0ad073b3372ad0c243e6d465a2318568'
,
'fb635b87d668b2bbcc6a0b0a2f6adc32'
,
'I did it'
);
call
volunteerviewBadges
();
-- '0ad073b3372ad0c243e6d465a2318568')
call
volunteerviewbadges
();
select
*
from
volunteers
;
call
badgeapprove
(
'1ab31562f157f8489ae45bb767cbad43'
,
'419fd9859978a9bf79df4ff16c99c5f9'
,
1
);
call
viewbadges
(
'0ad073b3372ad0c243e6d465a2318568'
);
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