You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Esimerkki sql-hausta moneen tauluun.

querystring="SELECT *, sensor.name as sensorName, sensor.Type as sensorType "
                "FROM sensor, cylinder, machine  WHERE "
                "sensor.machine_id = machine.machine_id "
                "AND cylinder.cylinder_id = sensor.cylinder_id "
                "AND machine.ActiveMachine = 1";
  • No labels
You must log in to comment.