Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
CryptoCurrencyTracker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
rs11g21
CryptoCurrencyTracker
Commits
c3bf27f6
Commit
c3bf27f6
authored
2 years ago
by
rs11g21
Browse files
Options
Downloads
Patches
Plain Diff
Contains two table for testing
parent
62dbbaba
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
databaseCrypto.sh
+6
-0
6 additions, 0 deletions
databaseCrypto.sh
with
6 additions
and
0 deletions
databaseCrypto.sh
0 → 100755
+
6
−
0
View file @
c3bf27f6
#! /usr/bin/bash
$(
/opt/lampp/bin/mysql
-u
root
-e
"create database cryptoTracker; use cryptoTracker"
)
$(
/opt/lampp/bin/mysql
-u
root
-e
"use cryptoTracker; create table crypto (id int, name varchar(20))"
)
$(
/opt/lampp/bin/mysql
-u
root
-e
"use cryptoTracker; create table cryptoPrice (id int PRIMARY KEY, value float,collected datetime)"
)
$(
/opt/lampp/bin/mysql
-u
root
-e
"use cryptoTracker; insert into crypto values (1,'Bitcoin')"
)
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