JOINwill combine rows from different tables if the join condition is true.LEFT JOINwill return every row in the left table, and if the join condition is not met,NULLvalues are used to fill in the columns from the right table.- Primary key is a column that serves a unique identifier for the rows in the table.
- Foreign key is a column that contains the primary key to another table.
CROSS JOINlets us combine all rows of one table with all rows of another table.UNIONstacks one dataset on top of another.WITHallows us to define one or more temporary tables that can be used in the final query.
My name is Emine Guven. I am an applied mathematician and study quantitative biology. My interests are cellular aging, VEGF receptors clustering, math modeling of biological systems with a broad focus on data analysis and simulations.This site is reserve as a notebook to keep my studies fresh and open to my students and collaborators.
Tuesday, November 6, 2018
SQL
Adapted from codecademy.com SQL course:
Wednesday, October 24, 2018
learn SQL codecademy.com
We learned 6 commands in SQL today;
A statement is a string of characters that the database recognizes as a valid command.
CREATE TABLEcreates a new table.INSERT INTOadds a new row to a table.SELECTqueries data from a table.UPDATEedits a row in a table.ALTER TABLEchanges an existing table.DELETE FROMdeletes rows from a table
Thursday, October 18, 2018
How to crete R Mark Down files in R studio
need to install:
install.package("rmarkdown")
how to render Rmd file through terminal command line after $ssh username
Need to have "pandoc" package on X11 or Linux machines.
$pandoc -v
install.package("rmarkdown")
how to render Rmd file through terminal command line after $ssh username
$ echo "rmarkdown::render('sample.Rmd', clean=TRUE)" | R --slave
$ Rscript -e "rmarkdown::render('sample.Rmd', clean=TRUE)”
Need to have "pandoc" package on X11 or Linux machines.
$pandoc -v
Sunday, October 7, 2018
solving ODEs
A nice recalling examples here:
http://mathinsight.org/ordinary_differential_equation_introduction
http://mathinsight.org/ordinary_differential_equation_introduction
Subscribe to:
Comments (Atom)