Skip to content

Mysql selecting from two tables

Can anybody tell me how to select data from two tables, without having to use join? Something like this: SELECT t1.*, t2.* FROM table1 t1, table2 t2 ###Clarification I have these …

Search between two SQL tables?

I have two tables: student Columns first_name last_name teacher_accounts Columns fname lname I have an input form that takes the data entered into an input field, and passes it through the …

MySQL – CREATE FUNCTION ? MODIFIES SQL DATA?

I am about to write a CREATE FUNCTION with MySQL and I am wondering, if CREATE TEMPORARY TABLE counts toward flag MODIFIES SQL DATA. Function does not modify any permanent table, just temporary table, …

How to update with inner join in Oracle

Could someone please verify whether inner join is valid with UPDATE statment in PL SQL? e.g. Update table t set t.value=’value’ from tableb b inner join on t.id=b.id inner join tablec c on c.id=b.id …

Creating index if index doesn’t exist

I have a problem creating an index with the advantage database server if it doesn’t exist with a sql query. My query looks like this: So I don’t use FullTextSearchIndizes,because it is a integer field. Otherwhise it would look like this: So, my only problem is how do I get the indices. I’ve …