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

database query

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
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
0
votes
0 answers
43 views

Using scala and lift, how can I do efficient filtering operations on documents in a collection of mongodb?

I have a User collection in mongodb and am using lift/scala to do User.findAll operations and retrieve the number of users that were created within…
asked June 23, 2011 10:39 am CDT
Ronnie
0
votes
0 answers
20 views

Problem with query

what i am trying: SELECT `update_photo`, (SELECT substring_index (`username`, ' ', 1)), `id_user` FROM users JOIN worker_has_profession ON…
asked June 22, 2011 9:10 pm CDT
Wire Creation
1
vote
3 answers
33 views

Select first word - mysql query

i need to select only the first name (that is the first word) of the user. For example, Andy Jones, only select Andy Any idea? thanks
asked June 21, 2011 10:09 pm CDT
user455318
0
votes
2 answers
38 views

How do I do a "NOT IN" query in Mongo?

This is a document: { title:"Happy thanksgiving", body: "come over for dinner" blocked:[ {user:333, name:'john'}, {user:994, name:'jessica'},…
asked June 17, 2011 3:47 pm CDT
Owalla
0
votes
2 answers
40 views

MySQL Query Two Table Join

having a little trouble with this query. I have two tables ... Account - ResourceID (int) AccountID (int) (unique auto-inc) Resource - TextName…
asked June 17, 2011 12:22 pm CDT
Brian Patterson
2
votes
1 answer
28 views

Find row from database depending on the value which is nearest to the given value.

I want to find table row from database depending on the value which is nearest to the given value. I have following data Id Rate Fat 1 10 8.00 2 20…
asked June 17, 2011 3:31 am CDT
Salil
0
votes
0 answers
27 views

Advanced Database Filter and Search- Generate Query

I'm implementing an advanced search for a records in a table (let's call it "product") that is linked to many tables. Main Table "product" id |…
asked June 15, 2011 4:52 pm CDT
Nate
0
votes
1 answer
24 views

How to check null values in select all query ?

I have a situation in which I need to select all values and the query is like select sr.*,cs.subjectid,cs.priority,cs.subjectname from sometable sr,…
asked June 15, 2011 2:07 am CDT
Sugandha Amatya
0
votes
3 answers
39 views

Merging two MySQL tables with unique fields

Basically I'm trying to combine two tables together into a new table. The first table contains information on users and the second table stores…
asked June 14, 2011 10:11 am CDT
undertokyo
0
votes
2 answers
34 views

How do I store this in Redis?

I have many products (product_id). Users (user_id) view the products. I want to query which users viewed whatever product in the last 24 hours . (In…
asked June 14, 2011 1:13 am CDT
Owalla
0
votes
0 answers
40 views

Display Query results in a DataGrid View

I am working on a C# application that writes to a database whenever new info comes in through a file. Then, when the user wants to get some specific…
asked June 13, 2011 11:40 am CDT
techmanc
0
votes
5 answers
30 views

Need advice on speeding up this MySQL query

This is the query I am currently executing: SELECT * FROM `datalog` WHERE world_id IN (2) AND action IN (0,1,2,8,9,10,11,13,14,15) AND x = -184.0…
asked June 13, 2011 11:32 am CDT
oliverw92
0
votes
1 answer
62 views

Android query vs rawQuery results

When i run either of the queries below with a normal 13 digit barcode a result is returned from my database perfectly fine. However when i run the…
asked June 12, 2011 11:36 am CDT
Luke
0
votes
0 answers
22 views

MySQL query misbehaving

I have a MySQL query that looks like this: select scheduled_hike_id , organizer_member_id , hike_attendee_id , mileage, feet_elevation,…
asked June 11, 2011 11:12 pm CDT
Genadinik
0
votes
3 answers
23 views

SQLite C# Simple Database lookup

I have inserted a lot of information into a SQlite database from my program. Now, my small task is to look up the database and find some statistics…
asked June 9, 2011 1:35 pm CDT
techmanc
0
votes
1 answer
44 views

Problem with sub query (mysqli)

i am trying to use this query but i get this error: Warning : mysqli_stmt::bind_result() [mysqli-stmt.bind-result]: Number of bind variables doesn't…
asked June 9, 2011 8:36 am CDT
Wire Creation
0
votes
2 answers
24 views

SQL query- probably wrong

I am trying this query, but didn't work INSERT INTO single_user (location_home.id_location_home ) SELECT location_home.id_location_home WHERE…
asked June 8, 2011 9:34 pm CDT
user455318
0
votes
1 answer
23 views

Mysql select records 1 hour or younger on datetime column

Hi I need help with a database myql query. What where clause can I use to select records that are one hour or younger using a DATETIME timestamp?…
asked June 8, 2011 3:28 am CDT
Marty
Pages : 1 | 2 | 3 | 4 | 5 > [8]
146

database query

Tagged: database + 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