Form elements update and deletion in D7
Yes you can easily do it in addition to this code. You need to create another url to delete a record from the database

$items['deldata'] = array(
'title' =&gt; 'Delete data',
'page callback' =&gt; 'form_delete_form',
'page arguments' =&gt;array(1),
'access callback' =&gt; TRUE,
);

function form_delete_form($arg){
$query = db_query("delete * from the 'table_name' where 'id' =$arg");
drupal_set_message("Record deleted successfully.");
drupal_goto('formdata');

}

function form_data_form()
{
  global $base_url;
 $results = db_query('SELECT * FROM {drupal}');
 $header = array(t('Id'),t('Name'),t('College'),t('Education'),t('Percentage'),t('Application'), t('Options'));
$rows = array();
foreach($results as $result){
$rows[] = array(
$result-&gt;id,
 $result-&gt;name,
 $result-&gt;college,
 $result-&gt;education,
$result-&gt;percentage,
 $result-&gt;application,
'&lt;a href='.$base_url.'/deldata/'.$result-&gt;id.'&gt;Delete&lt;/a&gt;', 
);
}
return theme('table',array('header'=&gt;$header,'rows'=&gt;$rows));
}


Hope it works for you!