&
Best unofficial Apache Server developers community
Username
Remember me?
Password
Forgot password?
Create an account
List archives
Videos
Answers
Questions
Unanswered
Tags
Ask Question
sql
0
votes
3
answers
142
views
Displaying message when no results found in PHP MySQL search
I have a PHP search script which queries a MySQL database. Currently, when no results are displayed the script shows and error. How can I make it…
php
mysql
html
sql
asked
June 25, 2011 2:18 pm CDT
Callum Whyte
1
vote
4
answers
129
views
Returning 5 results in PHP MySQL search
I want to only display 5 results from my database with my PHP search script. How can I do this? My PHP code is: <?php…
php
mysql
html
sql
asked
June 25, 2011 1:59 pm CDT
Callum Whyte
0
votes
1
answers
89
views
How to translate from SQL to NoSQL/MapReduce?
I have a background working with relational databases but recently started to dabble in CouchDB and was surprised by how some non-relational…
sql
database
nosql
couchdb
mapreduce
asked
June 25, 2011 1:11 pm CDT
sferik
0
votes
3
answers
66
views
Different table for insert and select
In order to improve insert performance and load on server, I've decided to divide a large table into 2. A big table which will only be used for…
php
mysql
sql
database
database-design
asked
June 25, 2011 11:07 am CDT
Noam
0
votes
2
answers
53
views
Sql insert statement sometimes working other times not working
Im building an application and Im having a bizarre issue where sometimes an sql statement will work and the very next call the exact same sql…
php
mysql
sql
database
web-hosting
asked
June 25, 2011 11:05 am CDT
edmund
0
votes
1
answer
42
views
Drag from mysql with counting and limiting
Is it possible to create a drag from mysql and count the total number of rows, but only get 20 rows at a time?
mysql
sql
optimization
asked
June 25, 2011 8:57 am CDT
Diblo Dk
0
votes
0
answers
53
views
Sql file import breaking at queries containing special characters
The import breaks in both phpmyadmin and bigdump. The backup is created using a php script I found online: <?php set_time_limit(0);…
php
mysql
sql
asked
June 25, 2011 8:43 am CDT
natli
1
vote
3
answers
31
views
MySQL query not quite right...probably pretty simple
I've got a table for a payroll system, with four fields, and some sample data: pkref employee_id new_wage effective_date ===== =========== ========…
mysql
sql
subquery
max
asked
June 25, 2011 3:31 am CDT
Steve
0
votes
3
answers
47
views
MYSQL select a piece of a string and order by that piece
I have a field with this kind of info "web-1/1.,web-2/2.,web-3/3.,web-4/4.,web-5/5.". Other registers could have different values like…
php
mysql
sql
asked
June 24, 2011 11:57 pm CDT
charlymz
0
votes
2
answers
35
views
How to solve this sql query?
I have the following query to fetch rows from wpr_subscribers provided that the conditions in the query. SELECT subscribers.* FROM wpr_subscribers…
php
mysql
sql
asked
June 24, 2011 9:18 pm CDT
Raj Sekharan
0
votes
0
answers
46
views
Postgres - Multiple joins is causing my query to return incorrect data
I have three tables in my database. Their schema is basically: books: id | book_title books_tags: id | book_id | tag_id books_votes: id | book_id |…
sql
postgresql
join
asked
June 24, 2011 8:22 pm CDT
Tony
1
vote
0
answers
59
views
MySQL generate sql insert for depended tables
I need create sql script for insert in many tables - total near 2000, but tables linked (it is an xml adjancency model) - so after have inserted in…
mysql
sql
insert
dependencies
generator
asked
June 24, 2011 8:13 pm CDT
user710818
0
votes
0
answers
52
views
Database generation from non-consistent csv files
I have many different csv files that I would like to convert in to database tables. The csv files are not always consistent, meaning that the…
mysql
sql
csv
asked
June 24, 2011 7:28 pm CDT
Toret
0
votes
2
answers
40
views
COUNT(id) query is taking too long, what performance enhancements might help?
I have a query timeout problem. When I did a: SELECT COUNT(id) AS rowCount FROM infoTable; in my program, my JDBC call timed out after 2.5 minutes.…
mysql
sql
asked
June 24, 2011 6:08 pm CDT
Ilane
2
votes
4
answers
36
views
Is there any sql performance gain for using underscores instead of spaces?
Is there any potential speed increase in using underscores instead of words with spaces in a query? For example, searching a column named "label"…
mysql
sql
asked
June 24, 2011 4:50 pm CDT
sterling
0
votes
0
answers
42
views
PostgreSQL - query against GIN index of HSTORE value
I have the following constructor (as a test): CREATE TABLE product (id BIGSERIAL PRIMARY KEY, ext hstore); CREATE INDEX ix_product_ext ON product…
sql
postgresql
database-queries
queries
gin
asked
June 24, 2011 4:06 pm CDT
IanC
1
vote
3
answers
50
views
Counts for distinct values in different tables where columns are common to separate tables
I have no idea if that title conveys what I want it to. I have two tables containing phone records (one for each account) and I'd like to get call…
sql
sqlite
asked
June 24, 2011 3:31 pm CDT
fracai
0
votes
2
answers
31
views
SQL Server 2008 r2 or PostGreSQL
I am rewriting an application for my company which requires a database. We are currently using SQL Server 8 and I will be updating the database. My…
sql
postgresql
asked
June 24, 2011 3:31 pm CDT
BrianKE
1
vote
1
answer
38
views
MySQL GROUP BY / ORDER BY issue with flat messages table / threads
Ok, I'm trying to base something similar off of this, but not quite getting it nailed: GROUP BY and ORDER BY Basically, wanting a query to find the…
mysql
sql
group-by
order-by
messaging
asked
June 24, 2011 1:29 pm CDT
Jonny Nott
0
votes
1
answer
35
views
Why Doesn't This MySQL Query Return More Results?
What I am trying to do is list an entry each time they have referred someone and that person is listed in the entries table as well. 3 different…
mysql
sql
asked
June 24, 2011 12:35 pm CDT
fanfavorite
Pages
:
1
|
2
|
3
|
4
|
5
>
[195]
3899
sql
Tagged:
sql
Related Tags
mysql
× 3105
php
× 642
postgresql
× 429
database
× 399
sqlite
× 333
query
× 290
join
× 157
database-design
× 96
c#
× 91
sql-server
× 85
select
× 72
query-optimization
× 70
asp.net
× 66
regex
× 55
android
× 54
sqlite3
× 53
aggregate-functions
× 51
insert
× 51
update
× 50
phpmyadmin
× 50
java
× 49
ruby-on-rails
× 48
performance
× 47
order-by
× 47
oracle
× 46
html
× 44
group-by
× 43
database-queries
× 42
optimization
× 42
English
Russian
Copyright 2007 - 2012
Best unofficial Apache Server developers community
Privacy policy