Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account

query

0
votes
1 answer
59 views

How to enable MySQL Query Log?

How do I enable the MySQL function that logs each SQL query statement received from clients and the time that query statement has submitted? Can I…
asked June 25, 2011 11:41 am CDT
Feng-Chun Ting
0
votes
1 answer
31 views

Query MySQL and Compare Entries?

I need to get a script working for our billing system (WHMCS) using their sample code that shows the average response time to support tickets for…
asked June 25, 2011 2:52 am CDT
Brett Powell
0
votes
0 answers
33 views

MySQL JOIN columns and count distinct on one table and get more values on other table

I'm doing a db to organize my movies. I have two tables (1 for movies one for actors). Puting it simple and omiting useless fields for this exercise…
asked June 24, 2011 6:21 pm CDT
Afonso Gomes
0
votes
1 answer
39 views

CONCAT only returns rows that are not null

I have searched in a few topics for how to resolve this issue I am having with a query that uses CONCAT but yet must return the groups even if the…
asked June 24, 2011 4:19 pm CDT
Prix
0
votes
2 answers
49 views

Sql query - select with or

i need to catch the password of a specif email when the value of activation is 1 or 2 query that i am using: $stmt = $db->prepare('select…
asked June 24, 2011 3:21 pm CDT
user455318
0
votes
0 answers
35 views

Fatal error: Call to a member function query() on a non-object expressionengine

I have no idea why this error is happening, it's shown in all the expressionengine tutorials and on the forums yet for some reason I still get it?…
asked June 24, 2011 2:57 pm CDT
user677756
2
votes
1 answer
36 views

MySQL query for multiple tables being secondary tables multiple items ?

I have a query where I currently get information from 2 tables like this: SELECT g.name FROM site_access b JOIN groups g ON b.group_id = g.id WHERE…
asked June 24, 2011 2:43 pm CDT
Prix
1
vote
2 answers
25 views

Joining a table with itself

This is my table structure fName Friend's Name [Varchar] fUID Friend's ID [Int] UID User's ID [Int] pk [fUID, UID] i want to get common friends of 2…
asked June 24, 2011 11:11 am CDT
Sourav
0
votes
0 answers
32 views

Postgis advanced (?) selection query

The problem: I need to select, for each building in my table that has say at least 2 pharmacies and 2 education centers within a radius of 1km, all…
asked June 24, 2011 8:51 am CDT
Dackster.ox
0
votes
4 answers
34 views

What type of day like (sat,sun,mon,...) in mysql ?

I need days in my tables and I need the query to compare with today like this ex : $query = "select course_ID from course where day = (today)"; This…
asked June 24, 2011 5:44 am CDT
PHP boy
0
votes
0 answers
34 views

MySQL search engine - AND keywords

I'm trying to make a search query between a table of key terms and pages. Consider the following tables. PAGES page_id page_name 1 cats 2 dogs 3…
asked June 24, 2011 5:18 am CDT
dave.zap
0
votes
1 answer
27 views

Which indexes do I need to add to speed up this MYSQL JOIN/GROUP BY/HAVING query?

The following query takes about 30 seconds to execute when current_vacature_response contains 88k records, and daily_vacature_response contains 10k…
asked June 24, 2011 3:04 am CDT
WardB
1
vote
2 answers
32 views

Finding total and unique hits for each product

I have table structure as follows id productid ip hittime --------------------------------------------------------------------------- 1 5 1.1.1.1…
asked June 23, 2011 11:09 pm CDT
I-M-JM
0
votes
2 answers
49 views

Confused on a somewhat complex LEFT/RIGHT JOIN query

thanks for taking the time to read this. Essentially I have 3 tables. Posts, Follows, Artists. What I am trying to do is pull all the 'Posts' from…
asked June 23, 2011 7:16 pm CDT
Jonathan Coe
2
votes
3 answers
32 views

MySQL query w/ COUNT() and HAVING based on date comparison

I am trying to limit my count results to those that meet a specific criteria. I am currently using a WHERE clause and my output is as expected. Here…
asked June 23, 2011 3:01 pm CDT
OldWest
0
votes
4 answers
46 views

MySQL COUNT() causing empty array() return

MySQL Server Version: Server version: 4.1.14 MySQL client version: 3.23.49 Tables under discussion: ads_list and ads_cate. Table Relationship:…
asked June 23, 2011 1:13 pm CDT
OldWest
0
votes
0 answers
44 views

Querying an encrypted field in a sqlite database on IOS

Just discovered data stored in an sqlite file on IOS isn't so secure after all. So I'm considering encrypting some key fields. Can anyone tell me is…
asked June 23, 2011 12:40 pm CDT
Johann
1
vote
1 answer
34 views

MySQL associated table COUNT() and GROUP BY

I am doing a pretty normal routine, but having a tough time getting my output correct. I have two tables: *ads_list* (listings) and *ads_cate*…
asked June 23, 2011 11:50 am CDT
OldWest
0
votes
1 answer
38 views

Is there a better approach on this MySQL query?

The following query finds the directors of all shops. I think that there is a simpler solution to this, something that I will prefer to use. Thank…
asked June 23, 2011 11:08 am CDT
Sampas
0
votes
2 answers
42 views

Converting MySQL connector to PDO

After taking some advice from people on here in a previous thread, I'm trying to convert my MySQL to PDO, but am running into some issues. Here is…
asked June 23, 2011 10:51 am CDT
bob_cobb
Pages : 1 | 2 | 3 | 4 | 5 > [63]
1253

query

Tagged: query
Related Tags
mysql × 1045
php × 300
sql × 290
database × 146
sqlite × 80
join × 62
mongodb × 58
postgresql × 57
select × 54
performance × 43
optimization × 42
android × 36
update × 25
insert × 21
count × 20
table × 18
group-by × 17
error × 16
subquery × 16
mysql-query × 15
java × 14
date × 14
regex × 13
wordpress × 12
indexing × 12