Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6225337
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T08:49:27+00:00 2026-05-24T08:49:27+00:00

I have this code: $sql = SELECT * FROM alexa WHERE alexapr BETWEEN 01

  • 0

I have this code:

$sql = "SELECT * FROM alexa WHERE alexapr BETWEEN 01 AND 20 ORDER BY alexapr ASC LIMIT 20";

Which give this result:

google.com 1
qq.com 10
msn.com 11
yahoo.co.jp 12
taobao.com 14
google.co.in 15
sina.com.cn 16
amazon.com 17
google.de 17
wordpress.com 18
linkedin.com 18
facebook.com 2
youtube.com 3
yahoo.com 4
blogspot.com 5
baidu.com 6
wikipedia.org 7
live.com 8
twitter.com 9

It’s showing Alexa ranking of top sites, How to get number in sequence like 1,2,3,4,5 etc. Why it’s showing 10,11,12 after 1? I want 1,2,3,4,5 and so on.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T08:49:28+00:00Added an answer on May 24, 2026 at 8:49 am

    Change your alexapr column type to integer.

    ALTER TABLE alexa CHANGE alexapr alexapr INTEGER IF you’re on mysql

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have this recursive code <ul> <% sql=SELECT * FROM cats ORDER BY orderid
i have this code for fill combo-box SQL = SELECT DISTINCT Name,Num FROM MyTbl
In this code: string sql = SELECT * FROM rd_main WHERE manifest!=\\ AND manifest
I have this code, $sqlstr = mysql_query( SELECT * FROM sales where passport =
I have this SQL: SELECT count (1) FROM users AS total_drafts WHERE version_replace =
I have this JDBC SQL query: select * from table where TX_DATE = {d
I have this code UPDATE OPENQUERY (db,'SELECT * FROM table WHERE ref = ''+
Is this code 100% safe from sql injection: $id = $_GET['id'] mysql_query('SELECT * FROM
Running this code DECLARE @SQL VARCHAR(2500) = '''SELECT z.* from openrowset(''''SQLNCLI'''',''''Server=server;UID=user;PWD=pwd;'''', ''''SELECT distinct x.PackageName
I have this code User.find(:all, :limit => 10, :joins => :user_points, :select => users.*,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.