2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-19 11:38:05 +02:00
Examples for the usage of LaTeX
Find a file
Stefan Koch 756fee46ef left join sufficient
A LEFT (OUTER) JOIN is totally sufficient here, you do not want to have one Berater NULL with about 10 customers (because some customers do not have a Berater).

Moreover, when using the altered version as expected (i.e. the one with Kunden2Berater table) there is no column Kunden.berater_id anymore. You thus have to join Kunden2Berater.

I have NOT checked the COUNT throroughly, but according to my understand you will have to count on one of the Kunden2Berater columns, because COUNT() will ignore NULL columns and this is what we want. If LEFT JOIN returned a row where there are no columns on the right side, the count shall give NULL. Yet, I have to admit that I do not understand COUNT() too well. The DISTINCT is then unneeded, because we GROUP BY berater_id and the kunden_id for each berater itself will already be unique. So please do not take the COUNT statement for granted now, it's untested. http://www.techonthenet.com/sql/count.php
2013-07-30 11:14:45 +02:00
cheat-sheets vim cheat sheet: added some commands 2013-04-16 18:00:50 +02:00
circuits added example for tikz circuit library 2013-01-19 10:21:32 +01:00
documents left join sufficient 2013-07-30 11:14:45 +02:00
images misc 2013-07-28 16:15:18 +02:00
math added compiled example 2013-07-02 15:49:34 +02:00
povray/ellipsoid added rectangle example 2012-09-07 22:21:55 +02:00
presentations fixed typo 2013-07-02 14:19:05 +02:00
pstricks added sphere sphere solution 2013-07-02 15:39:25 +02:00
source-code misc 2013-06-29 10:14:22 +02:00
tikz misc 2013-07-28 16:15:18 +02:00
uml/class-diagramm added math document examples 2012-08-13 19:22:43 +02:00
.gitignore added resource allocation graph 2013-03-06 13:25:42 +01:00
LICENSE added MIT license 2013-02-01 23:34:09 +01:00
README.md added csv2piechart example; corrected error in CFB mode decryption 2013-07-09 14:41:25 +02:00

LaTeX-examples

More than 200 examples for the usage of LaTeX (you can check that with the following command: find . -type d | sort | awk '$0 !~ last "/" {print last} {last=$0} END {print last}' | grep -v .git | wc -l)

Most examples can be found on my Wikpedia Commons user page

You might also be interested in my Blog

Usage

Every LaTeX file is in a seperate folder and has its own Makefile. So you can simply generate the PDF by typing "make" in the terminal.

Requirements

POV-Ray

Although POV-Ray has nothing to do with LaTeX, I decided to add some images here

Contact

If you have examples or suggestions for improving given examples, you send them to info@martin-thoma.de

Re-use

Feel free to use and modify the examples of this repository. But please add a link to this repository or martin-thoma.com

Other resources