How to delete a particular row in a database table

Yes, you can use wpdb to delete the record in the custom table. Something like this in the wordpress function.

require_once ('../../../../wp-load.php');

if (!empty($_POST['id'])) {

  global $wpdb;

  $table="table_name";
  $id = $_POST['id'];
  $wpdb->delete( $table, array( 'id' => $id ) );

}