MySQL: Querys with more rows as result work. If only one row, no change in result. Made types and variables optional if not needed.